Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Nov 2004 07:55:31 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: USB Key Disk Boot
Message-ID:  <4188D543.3020501@mac.com>
In-Reply-To: <BDAD4DA0.7BA10%joe@via.net>
References:  <BDAD4DA0.7BA10%joe@via.net>

next in thread | previous in thread | raw e-mail | index | archive | help
joe mcguckin wrote:
[ ...top-posting recovered... ]
> Most USB keys don't have a rw/ro switch. Is there a kernel flag you can set
> to tell FreeBSD that boot device is flash and that writes should be kept to
> a minimum?

Look at /etc/fstab, and consider the "ro" & "noatime" options.

> Can swap space be completely done away with?

Certainly.  It would be a very good idea to configure the system with more 
than enough physical RAM, and to take some care selecting the software being 
run on the system.

[ If you stick to small, simple C programs like natd, dhcpd, etc, you should 
be fine.  Try to avoid complex systems and scripting languages like Perl-- for 
example, trying to do SMTP + SpamAssassin + amavis + antivirus on a Compact 
Flash-based host would be a bad idea. ]

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4188D543.3020501>