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 12:45:43PM +0200, tlaronde%polynum.com@localhost wrote:
> On Mon, Jul 22, 2019 at 12:38:10PM +0200, Manuel Bouyer wrote:
> > 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).
> > 
> > AFAIK this will write to the disk only if an update is needed, so only
> > if something else changed in the system.
> > 
> 
> in /etc/weekly, it forces the rewrite from scratch ("-f" flag).

So it's in weekly.conf that is has to be disabled.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index