tar vs cp

M.W. Chang mwchang
Mon May 17 11:55:16 PDT 2004


It's from a how-to on converting a root partition to xfs.
what does the following command do?

mount -t ext2 /dev/hda6 /mnt
cd /
tar lvcf - . | (cd /mnt ; tar xpvf -)

can I use cp -a to achieve what the tar did?

-- 
   .~.    Might, Courage, Vision. In Linux We Trust.
  / v \   http://www.linux-sxs.org
/( _ )\  Linux 2.4.22
   ^ ^    10:24pm up 2 days, 4:20, 1 user, load average: 1.00, 1.00, 0.97



More information about the Linux-users mailing list