Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: uSD related: default rc.conf and fstab



On Mon, Jul 22, 2019 at 10:52:02AM +0200, tlaronde%polynum.com@localhost wrote:
> I'm wondering about uSD related settings (in the default image).
> 
> In order to reduce the writes on the card, wouldn't be advisable to
> set:
> 
> makemandb=NO
> 
> in the initial /etc/rc.conf (to register this particular point)? (there
> are probably others but this one tends to create a lot of data in /var).

You could also mount a tmpfs on /var.

> And could one set in /etc/fstab root with "noatime"?

When you do that, copy /dev/MAKEDEV to /etc and remove /dev/* (but leave
an empty /dev) around, then reboot. This will create a tmpfs on /dev
and make your tty nodes have proper atimes.

Martin


Home | Main Index | Thread Index | Old Index