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

Re: Resizing Partitions



On Wed, May 31, 2000 at 04:50:27AM -0800, Ethan Benson wrote:
> im not a cpio guru but the method i used was:
> 
> find /usr | cpio -padmv /mnt/usr

Best to always use -xdev and -depth on find for a cpio.  The -xdev keeps it
from crossing devices, and -depth goes down directories before the
directory itself.  This prevents a problem with directories that can't be
written to.

Also, _never_ use the -a option to cpio.  It resets the access time on the
file, at the expense of making the ctime on the file the current time.
This makes any decent backup program treat the files as new.  By not
specifying the -a option, you lose one small piece of information, but you
get to keep something much more useful.

David Brown



Reply to: