View previous topic :: View next topic |
Author |
Message |
leonglass Apprentice
Joined: 08 Aug 2006 Posts: 278
|
Posted: Tue May 15, 2007 11:04 pm Post subject: new var partition |
|
|
I want to move my /var dir onto a separate partition. Is it safe enough to mount the new partition somewhere then do the following
Code: |
cd /var
find . -depth -print0 | cpio -0pdmv <mounted partition> | Then erase the old /var dir (after checking and how to check) and edit fstab to mount the new partition on boot. Or is there a better way to do it. |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
Posted: Wed May 16, 2007 12:08 am Post subject: |
|
|
For /var I would boot with a LiveCD and then copy everything over when the system's not running. |
|
Back to top |
|
|
leonglass Apprentice
Joined: 08 Aug 2006 Posts: 278
|
Posted: Wed May 16, 2007 7:08 am Post subject: |
|
|
ok thanks |
|
Back to top |
|
|
|