[nycbug-talk] cflash root filesystem

George Georgalis george at galis.org
Fri Feb 3 16:09:40 EST 2006


On Fri, Feb 03, 2006 at 03:10:47PM -0501, Ray Lai wrote:
>On Fri, Feb 03, 2006 at 12:53:59PM -0500, George Georgalis wrote:
>> I'm about to install world (netbsd 3.0) on a cflash for a firewall,
>> but what is the best filesystem to use?
>> 
>> There won't be much on this system so I was thinking no swap, and
>> it can all go on sd0a (ie no var or usr partition).
>> 
>> In disklabel I have these types available...
>> 
>> Supported file system types:
>>         4.1BSD          ccd             jfs             System V
>>         4.2BSD          Eighth Edition  Linux Ext2      unknown
>>         4.4LFS          FILECORE        MSDOS           unused
>>         ADOS            HFS             NTFS            Version 6
>>         Apple UFS       HPFS            RAID            Version 7
>>         boot            ISO9660         swap            vinum
>> 
>> I'm thinking 4.2BSD and UFS2 with softupdates and noatime, logs
>> will be minimal or to a disk based host; any mistakes here?
>
>Mount everything you can as read-only to minimize fsck time.  You
>can also mount everything read-only and mfs-mount /dev and /var to
>eliminate fsck entirely.

Hey that sounds good.... but I've not done anything like that before,
how do I setup and maintain a "read-only and mfs-mount /dev and /var"?

So far the only newfs option that looks interesting is "-o time"

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george at galis.org


More information about the talk mailing list