Once upon a time, Marco Shaw <[email protected]> said:
> Well, as my luck would have it, I need to resize /, and my layout is
> /dev/sda1 /boot
> /dev/sda2 /
> /dev/sda3 swap
> /dev/sda4 Extended
> /dev/sda5 /home
> 
> (I didn't build it!)

If swap is about the same size as the amount you need to add to /, you
could delete the existing swap partition, resize / to fill that space,
and then add swap in the new space.

> >From what I can remember, using cpio was more robust/trustworthy than
> tar, because I'll need to backup /home and restore it after...

If you have SELinux enabled, make sure you use something that handles
extended attributes.  I don't remember if cpio does; tar has an --xattrs
option to include them.
-- 
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to