eeePC 900 with SSD && reducing writes
Oliver Fromme
olli at lurza.secnetix.de
Tue Jul 8 16:02:01 UTC 2008
Matthias Apitz wrote:
> I'd also like to get rid of 'lastlog' and 'wtmp' but even if the man
> page claims that they will not be created if they don't exist, they
> come up again and again;
>
> another candidate of not needed log is
> /var/log/Xorg.n.log ...
You can get rid of an on-disk /var alltogether.
Add these lines to /etc/rc.conf:
varmfs="yes"
varsize="32m"
It will create a memory FS for /var of 32 MB (default).
You could also mount some or all of your disk partitions
read-only. That's what I do on my embedded FreeBSD-driven
mp3 player (running from a CF card instead of hard disk),
because it doesn't have to write anything anywhere.
If you have any disk partitions that you mount read+write,
be sure to enable soft-updates because it tends to reduce
the number of physical write operations.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
"FreeBSD is Yoda, Linux is Luke Skywalker"
-- Daniel C. Sobral
More information about the freebsd-hackers
mailing list