Re: [PATCH obexd 4/4] Add copy and move support for filesystem plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zitat von Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx>:
From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

Move is implemented using rename and copy uses sendfile, both part of
posix.

Did you ever take a look at the "cp" implementation in coreutils? [1]
Additionally, the obex spec says that the copy/move actions also copies/moves directories recursively.

HS

[1]: http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/copy.c

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux