[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] lvm'ing root fs



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]