Commit Graph

3 Commits (dca55d6450495137c4a23969e1e97beba7721f3f)

Author SHA1 Message Date
cwillu 796a0e9cc4 Btrfs-progs: Correct path munging in bcp
Bcp was assuming that a path on the command line would never have a slash after
it, which is silly, and would cause the first letter of everything in the root
of the source to be truncated.  Instead, use os.path.relpath to handle
it properly.

Signed-off-by: Carey Underwood <cwillu@cwillu.com>
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
2011-10-25 09:18:58 -04:00
Chris Mason aaf38b3ebd bcp updates for single file copies 2008-05-02 16:12:02 -04:00
Chris Mason a94b1455aa Add bcp to test the clone file ioctl 2008-05-02 15:08:08 -04:00