Toni Mueller wrote:
> Hello,
> 
> when following -stable and also following the advice to place /usr/obj
> on a separate partition, how much space is recommended these days? I've
> just discovered that 1 gig isn't enough.
> 
> Thank you!
> 
> 
> Best,
> --Toni++

"barely over 1G"...at the moment.

It's not getting smaller anytime soon, so if planning ahead is something
you like to do, I'd probably leave at least 2G for "future growth".

Granted, the goal of having a /usr/obj partition is usually to make it fast
to newfs, so you don't want to make it too big.  Of course, you can leave
(say) 3G of empty space, but make the partition 1.2G in size.  When 1.2G is
no longer enough, just edit the partition size, newfs (or growfs, but
that's not really needed in THIS case), and now you have a 1.5G obj partition.

Or, just skip the usr/obj partition...  Having been stung a few times by
over partitioning recently, it might just not be worth the trouble.  As
Nico Meijer pointed out, on modern HW, you may not see a significant
difference in time.  Biggest reason I use a usr/obj partition on one of my
build machines is because it is hard to get >4G disks narrow SCSI disks, so
/usr/obj is on an old 2G drive on my mac68k build machine...  Even there,
where the newfs is significantly faster than a rm -r /usr/obj/*, the
difference in the nearly five-day build time Just Doesn't Matter. :)

Nick.

Reply via email to