ebloch <[EMAIL PROTECTED]> wrote:
> cp command option :
>
> -x, --one-file-system
> stay on this file system
>
> sometimes does not stay on the same filesystem.
>
> using cmd line :
> cp -r -u -p -x -f -v --target-directory='/abc/def/123/456/xx" /home
> or
> cp -rupxfv --target-directory='/abc/def/123/456/xx" /home
>
> where '/home' is mounted on a different volume than '/'.
Thanks for the report.
What version of coreutils is that? (run cp --version)
However, I can't reproduce the problem using a recent version.
I tried to by using a tiny file system:
$ df -hT /full
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda6 ext3 7.6M 7.3M 0 100% /full
and then these commands:
$ mkdir /tmp/xxxxx
$ cp -r -u -p -x -f --target-directory=/tmp/xxxxx /full
`/full' -> `/tmp/xxxxx/full'
`/full/lost+found' -> `/tmp/xxxxx/full/lost+found'
`/full/tmp' -> `/tmp/xxxxx/full/tmp'
`/full/tmp/big' -> `/tmp/xxxxx/full/tmp/big'
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils