Default FS Layout Too Small?

Ian FREISLICH ianf at clue.co.za
Wed Feb 25 06:07:04 PST 2009


Stephen Montgomery-Smith wrote:
> Sean Bruno wrote:
> > I noted that if I choose the auto defaults for my F/S layout, sysinstall
> > will not reserve enough space for root(512MB?).  This is just barely
> > enough to recompile and install an updated kernel.  Much more than that
> > and the F/S is full.
> > 
> > I would assume that the default would be much larger now-a-days. I think
> > a simple doubling to 1G would be sufficient.
> > 
> > Comments?
> > 
> > Sean
> 
> I have observed the same issue.  Somehow there is a lot more stuff in 
> /boot/kernel than there used to be.  I'm guessing that a lot of it is 
> symbols for the debugger, which used not to be there.  And when you have 
> /boot/kernel.old as well, it really gets pretty full there.
> 
> I don't understand the comment made by another poster that 85MB is 
> enough.  I have a FreeBSD 7 box which was partitioned years ago (back in 

[brane] /boot $ uname -a
FreeBSD brane.freislich.nom.za 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Tue Feb 24 12:45:03 SAST 2009     ianf at brane.freislich.nom.za:/usr/obj/usr/src/sys/BRANE  amd64
[brane] /boot $ du
22      ./defaults
36114   ./kernel
2       ./modules
2       ./firmware
2       ./zfs
32658   ./kernel.old
69722   .

I suspect that this config option has a lot to do with how much
space your kernels (and modules) use on disk

makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols

Ian

--
Ian Freislich


More information about the freebsd-current mailing list