On Thu, 2003-07-31 at 19:18, stefmit wrote:
> On Thursday 31 July 2003 04:14 pm, Bill Mullen wrote:
> > On Thu, 31 Jul 2003, Anne Wilson wrote:
> > > /etc/fstab:
> >
> > [snip]
> >
> > > /dev/hde10 /holding ext3 user,defaults 1 2
> >
> > [snip]
> >
> > Yup. Get rid of that "user," option. Unmount and remount (as root). Then:
> >
> > rm -fR /holding/*
> > cp -a /usr/* /holding/
> >
> > That should give better results.
> 
> I see that everybody insists in this cp -a issue. As I said in my previous 
> emails, directed to Anne only: cp is NOT the best choice of doing this. I had 
> problems in the past caused by hardlinks, I think even device files (when 
> cloning a whole disk), etc. If you ever decide to recopy those, please try:
> 
> # find <directory_to_be_copied> -depth -print | cpio -adpuvm 
> /mnt/your_new_disk

Oh I didn't say cp -a was the best but cp had been mentioned... so
.......
> 
> with minor variations (pruning undesired paths, before piping to cpio, or 
> removing some of those options (at a minimum -puvd, though)). 
> 
> NOTE: Pruning would be necessary when cloning a whole disk (replacing 
> <directory_to_be_copied> with "/"), for things like /mnt, /proc, ...
> 
> 
> Stef
> 
> 
> 
> ______________________________________________________________________
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to