On Sep 3, 2018 4:33 PM, Ken M <[email protected]> wrote:
>
> On Mon, Sep 03, 2018 at 03:59:07AM +0200, Ingo Schwarze wrote:
> > Hi Ken,
> > 
> > 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
>
> Other than using OpenBSD as general secure laptop env and doing some 
> development
> I have planned to work on some ports, have done a little bit to try to help 
> with
> lmms for example.
>
> At the time I installed this system (the 128 GB SSD is what came with it) I
> probably didn't know enough about wxallowed to properly make decisions.
>
> Probably the smartest thing to do is maybe reinstall or at least redo the
> partitions a good bit.  I think what I need to do is make /usr smaller make
> /usr/local a good 15gb partition and the rest leave for /usr/ports. I think I
> need to backup what I got and then drop those partitions/disklabels and remake
> them. That is probably the cleanest, I am guessing it will be best to do that
> from single user mode.
>
> Ken
>
This obviously isn't the officially recommended way to do it, but it works here.

I put everything in my $HOME and use symlinks to trick the build system into 
thinking it's in /usr/ports, etc. Thus, no need to fool with partitions.

Edgar

Reply via email to