Current-Users archive

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

"/var/shm" on kernels w/o tmpfs?

The NET4501 kernel config excludes "file-system TMPFS" and is also
non-MODULAR, so it can't load it on demand.

Thus, in -7 and -current, the addition of

  tmpfs  /var/shm        tmpfs   rw,-m1777,-sram%25

to "fstab" by 'postinstall' causes an error when "/etc/rc.d/mountall"
runs on the next boot (IIRC something like "operation not supported by

Commenting/removing the line from "fstab" silences the error on boot
but will cause 'postinstall' to prompt "fix"ing that on the next update.

If there is a subsystem that expects "/var/shm" to exist, perhaps all
kernel configs should include "TMPFS"?

|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Home | Main Index | Thread Index | Old Index