On Sep 04 12:53:05, [email protected] wrote:
> I Noticed the following line on start-up  in 7.7
> creating runtime link editor directory cache   ?
> 
> I was wondering will the runtime link editor directory cache result in
> additional writes to the filesystem

It writes /var/run/ld.so.hints

$ du -hs /var/run/ld.so.hints
10.0K   /var/run/ld.so.hints

There is no point worrying about that.

> and would it be useful to memory mount
> the filesystem to reduce writes  to the filesystem (to increase the
> resilience of OpenBSD based routers / firewalls in the field ? )

In my experience, it is way more trouble that it is worth.
In this particular case, it is a write of a few KB.

> we currently memory mount  the following mount points to reduce flash wear

What flash wear?

> and probability of a write to the ssd during a power interruption
> ##extract of my /etc/fstab below
> 
> swap /tmp mfs rw,nosuid,noexec,nodev,-s=262144 0 0
> swap /var/log mfs rw,nosuid,noexec,nodev,-s=524288,-P=/persist-fs/var/log 0
> 0
> swap /var/run mfs rw,nosuid,noexec,nodev,-s=262144,-P=/persist-fs/var/run 0
> 0

So you already do have /var/run on mfs.

Reply via email to