Hi Ken,

Ken M wrote on Sun, Sep 02, 2018 at 03:47:05PM -0400:

> 16 partitions:
> #                size           offset  fstype [fsize bsize   cpg]
>   a:          2097152               64  4.2BSD   2048 16384 12958 # /
>   b:          8241536          2097216    swap                    # none
>   c:        250069680                0  unused
>   d:          8388608         10338752  4.2BSD   2048 16384 12958 # /tmp
>   e:         23823104         18727360  4.2BSD   2048 16384 12958 # /var
>   f:         31460960         42550464  4.2BSD   2048 16384 12958 # /usr
>   g:         41929664         74011424  4.2BSD   2048 16384 12958 # /usr/ports
>   h:        134126688        115941088  4.2BSD   2048 16384 12958 # /home
> 
> Frankly what probably makes the most sense is remounting /usr/ports to
> be /usr/local.  That probably makes the most sense.  Frankly first doing
> this I am sure I did not make the best decisions as I am still on the new
> side of using OpenBSD.

How exactly to distribute space among partitions really depends on what
you want to use the machine for.  The disk you are showing above can be
called terribly small nowadays (though i admit that i used disks in
production with OpenBSD 2.7 17 years ago that were more than 1000 
times smaller), so small that you are likely to run out of space
sooner or later even if you don't let waste data lying around.

Yes, you always want /usr/local/, except maybe on a pure firewall router
where you are not planning to install any ports whatsoever except rsync.

I see you do not have /usr/src/, /usr/obj/, /usr/xenocara/,
and /usr/xobj/, so you are obviously not planning to work on patches
to the base system or to X11.  Nothing is wrong with that.  If you ever
start doing such work on that machine, you will have to bite off the
required partitions from home, though.  It would have been smarter if
you had left at least 10G at the end of the disk unallocated; if you
ever needed some partition like that, you could create it without a fuss;
if /home/ ever got full, you could move some stuff there.

I see you do have /usr/ports/, so obviously, you are planning to do
some work on ports.  I only work on ports *occasionally*, i'm not a
real porter, yet i currently have the following amounts of space *in
use* for work on ports:

 - /usr/local/            --   9 GB (separate partition)
 - /usr/ports/pobj/       --  18 GB (separate partition)
 - /usr/ports/distfiles/  --   9 GB (partition /usr/ports/)
 - /usr/ports/packages/   --   8 GB 
 - /usr/ports/            --  650 MB (rest of the partition)

In addition to that, i have about 115 checkouts of source trees
of various software that i occasionally work on or look at on
another partition, which takes up another 21 GB (but that's more
for base that for ports work).

Yours,
  Ingo

Reply via email to