On Fri 02/05/2003 16:46:30, Tarragon Allen wrote: > On Fri, 2 May 2003 04:26 pm, Frank Barknecht wrote: > > Hallo, > > > > Tarragon Allen hat gesagt: // Tarragon Allen wrote: > > > Something like this? > > > > [...] > > > > > mount -t ext3 /dev/hda7 /mnt/part2 > > > cp -av /mnt/part1 /mnt/part2 > > > > [...] > > > > > cp -av /mnt/part2 /mnt/part1 > > > > Make VERY SURE, that you use the -x switch: > > > > cp -avx > > > > to not copy things from other partitions, that are symlinked. > > Otherwise this is also my solution: It is equivalent to the tar-pipe, > > whose syntax I never remembered... > > > > ciao > > I thought that would be handled by the -a, which basically turns on -dpR .. > the -d being the important one - "same as --no-dereference --preserve=link" > .. -x, --one-file-system stay on this file system Which is different from not following links. This prevents filesystems mounted within the one to be copied from being copied. > > t > -- > GPG : http://n12turbo.com/tarragon/public.key