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

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

 



Hi Parameshwara Bhat

To copy the content of a subdirectory to a new partition, and specially
if you have long filenames and would like to keep the "disk organisation",
I advice you to use backup and restore rather tar and cpio.

For example: to copy /usr to your new partition as /dev/sdb1

$ mkdir /a
$ mount /dev/sdb1 /a
$ cd /usr
$ /sbin/dump -0f - . | ( cd /a ; /sbin/restore -rf - )

Hope that helps


Cheers


Jean-Philippe BATTU
Grenoble
FRANCE
Site Web: http://www.geocities.com/jeanpba
http://jeanpba.homeip.net


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

  Powered by Linux