Stuart Longland writes:
> > 16 partitions:
> > #                size           offset  fstype [fsize bsize   cpg]
> >   a:           268416               64  4.2BSD   2048 16384  2097 # /
> >   b:           373010           268480    swap                    # none
> >   c:         16777216                0  unused                    
> >   d:           413056           641504  4.2BSD   2048 16384  3227 # /tmp
> >   e:           435744          1054560  4.2BSD   2048 16384  3390 # /var
> >   f:          5006848          1490304  4.2BSD   2048 16384 12958 # /usr
> >   h:          4403456          6497152  4.2BSD   2048 16384 12958 # 
> > /usr/local
> >   i:          2138976         10900608  4.2BSD   2048 16384 12958 # /usr/src
> >   j:          2746048         13039584  4.2BSD   2048 16384 12958 # /usr/obj
> >   k:           986208         15785632  4.2BSD   2048 16384  7674 # /home
>
> Question is, how do I re-organise this space?  There is sufficient space
> there.  /usr/obj and /usr/src are pretty much unused.  /usr/local could
> be made smaller too as could /home.

Copy contents of /home, if any, to /var; Remove partitions i, j and
k, replacing with a single large i to mount at /home; format new,
larger partition i and restore the contents of /home from the backup;
update /etc/fstab.

Alternatively back up the contents of /usr/local as well and replace
partition h with a larger one if you don't need a /home (except
that now sysupgrade does, so...).

Reboot not required although you will need to stop/start anything
holding files open.

Matthew

Reply via email to