RE: How copy /usr contents to a new partition?

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

 



> 
> I want to copy /usr to a new partition and then attach that 
> at /usr. I  
> issued a command
> 
> 	cp -options(recursive included) /usr /mnt/"mountpoint
> 
I often use the following syntax to copy directory structures and
preserve permissions, dates, soft links, etc.

intially name /mnt/"mountpoint  /mnt/usr

(cd /;tar cf - usr) | (cd /mnt; tar xf - ) 

After that you can name the mountpoint whatever you want.

Bob Styma


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

  Powered by Linux