[linux-lvm] lvm'ing root fs

Ulf Bartelt ulf at twc.de
Tue Apr 11 06:14:19 UTC 2000


Torsten Landschoff wrote:
>    (cd /source/directory && tar cf - . ) | (cd /dest/directory && tar xvfp -)

I use:

tar clCf sourcedir - . | tar xvpCf destdir -

...at least with gnu tar...

...will skip mounted filesystems due to the "l" option...
...will chdir to sourcedir/destdir due to the "C" option...


...or did i miss something?


Bye!
	Ulf.



More information about the linux-lvm mailing list