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 01:44:29PM +0200, Manuel Bouyer wrote:
> 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.
You are right. If I don't want at all the mandb, I need to set:
/etc/rc.conf: makemandb=NO
/etc/daily.conf: run_makemandb=NO # because if not existing, it builds
/etc/weekly.conf: rebuild_mandb=NO # because it forces rebuild
(and the question goes probably as well for rebuild_locatedb too).
--
Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.com/
http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
Home |
Main Index |
Thread Index |
Old Index