On Sat, Oct 05, 2002 at 07:38:53PM +0200, Oliver Lehmann wrote:
> Hallo Patrick,
>
> Patrick Hess wrote:
>
> > - Und nun kommt der eigentliche Kopiervorgang:
> >
> > tar -cSp --exclude /mnt/\* -f - / | ( cd /mnt && tar -xSpvf - )
>
> ich wuerde das mit
>
> find -x /alt -depth -print | cpio -pdmv /neu
Böse Falle:
[52]cicely8# mkdir /tmp/alt
[53]cicely8# mkdir /tmp/neu
[54]cicely8# find -x /tmp/alt -depth -print | cpio -pdmv /tmp/neu
/tmp/neu/tmp/alt
0 blocks
[55]cicely8# ls -alR /tmp/neu
total 12
drwxr-xr-x 3 root wheel 512 Oct 5 21:53 .
drwxrwxrwt 5 root wheel 512 Oct 5 21:53 ..
drwx------ 3 root wheel 512 Oct 5 21:53 tmp
/tmp/neu/tmp:
total 12
drwx------ 3 root wheel 512 Oct 5 21:53 .
drwxr-xr-x 3 root wheel 512 Oct 5 21:53 ..
drwxr-xr-x 2 root wheel 512 Oct 5 21:53 alt
/tmp/neu/tmp/alt:
total 8
drwxr-xr-x 2 root wheel 512 Oct 5 21:53 .
drwx------ 3 root wheel 512 Oct 5 21:53 ..
-- B.Walter COSMO-Project http://www.cosmo-project.de ticso(at)cicely.de Usergroup info(at)cosmo-project.de To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Sat 05 Oct 2002 - 21:55:20 CEST