Thread: Resizing /usr
View Single Post
Old 7th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

*My Personal Opinion*

Use the free 20GB to create a new slice with several partitions, where ever your 'bulges' will be and mount them or create a big slice/1partition and symlink them from a diff mount point.


It is less trouble then relabing the disk and having to go through updating stuff, especially since you have so little backup options and extra disk space available for it.



e.g.

freespace -> ad0sX
ad0sXa -> /usr/local
ad0sXb -> /usr/src
ad0sXd -> /usr/obj
ad0sXe -> /usr/ports

or

ad0sXa -> /where/ever

and create sym links to /usr/{obj,src,ports,local} to /where/ever/{obj,src,ports,local}.




For example, my file server recently got a second hard drive.


I dumped the contents of /usr/local, deleted the old, formated a slice with a partitioin for it and mounted it on /usr/local and then restored the files.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote