KIO and named pipes
thiago at kde.org
Mon Mar 17 09:40:11 GMT 2008
On Monday 17 March 2008 10:33:52 David Faure wrote:
> On Monday 17 March 2008, Thiago Macieira wrote:
> > On Monday 17 March 2008 09:29:26 Will Stephenson wrote:
> > > IIUC when copying a directory, there's a listRecursive() then each file
> > > is get'ed individually. This list must detect the mimetype allowing a
> > > chance to skip the fifo. What about when copying a single file?
> > What if I want to copy the contents of the FIFO? (i.e., I have an
> > application writing on the other side of the pipe)
> I don't think that's the job of a file manager.
> In other words, if you want to copy the contents of a FIFO, you would use
> KIO::get in a specialized application, you wouldn't use a KIO::CopyJob.
> Copying a file is supposed to give you an identical copy on the other end.
> If there's no way to copy a named pipe then let's skip them in CopyJob.
Ok, fair enough. You wouldn't want to copy /dev/hda from a remote system
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel