increasing the size of the NanoBSD /cfg slice

Maciej Milewski milu at dat.pl
Fri Nov 15 15:15:43 UTC 2013


On 13.11.2013 22:33, David Newman wrote:
> Greetings. For NanoBSD running on FreeBSD 9.2-RELEASE i386, what is the
> parameter to increase the size of the /cfg partition?
>
> There's a NANO_RAM_TMPVARSIZE option to set the sizes of the /tmp and
> /var RAM disks but I don't see a similar option in nanobsd.conf or
> nanobsd.sh for setting the size of the /cfg partition.
>
> The system currently allocates 1.4 Mbytes to /cfg, but I'll need at
> least 20 Mbytes of permanent storage. How to address?
>
> thanks
>
> dn
>
> ps. If there's a better forum for NanoBSD questions, please advise.
NanoBSD is part of FreeBSD so this list is fine.
Maybe you are looking for NANO_CONFSIZE?
I have such explaination in my appliance.configfile:

# Size of configuration file system in 512 bytes sectors
# Cannot be zero.
NANO_CONFSIZE=$((1024/512*1024*16)) # 16 M

-- 
Pozdrawiam,
Maciej Milewski



More information about the freebsd-questions mailing list