Re: moving the /var partition

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

 



Chris Purcell wrote:

I would boot into rescue (or single user) mode and use find/cpio to copy /var/ to /user/.

find /var -xdev | cpio -pmduv /user


I'll use this, thanks.


...and then just rename them and modify your fstab file.

This is the part I don't understand. Is this done simply by changing the partitions labels, using tune2fs?


tune2fs -L /temp /dev/hda7
tune2fs -L /var /dev/hdb1
tune2fs -L /user /dev/hda7

Something like that?

Bill


mv /var /var.old mv /user /var mv /var.old /user

Chris






-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux