Re: Moving / mountpoint

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

 



On Thu, 2005-08-18 at 11:33, Tim wrote:
> On Thu, 2005-08-18 at 15:53 +0100, Paul Howarth wrote:
> 
> > Moreover, "cp -a" will copy the data from all mounted filesystems
> > under the starting point, so if you've mounted all original
> > filesystems (the rescue CD would offer to do that), you'd potentially
> > be copying more than just the original partition. The dd method does
> > not have this issue.
> 
> Wouldn't you also potentially strike the problem of inappropriately
> copying /proc/ or /dev/ when using cp, if you just copied "/" to "/"?

Avoid it by using the --one-file-system option, whether you are
copying with cp, rsync, or tar.  That will also keep you from
wandering into mounted CDs, DVDs, NFS mounts, etc.  Just be sure
you do each filesystem you want.  Note that you generally do want
to copy /dev and it won't be on a separate filesystem.

-- 
 Les Mikesell
   lesmikesell@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux