Well -- that fixed the fault-on-exit (and therefore the dirty
filesystems on reboot) -- now to figure out why the tmpfs is so
problematic for me...

Thanks!

-bch



On 7/21/16, Robert Swindells <r...@fdy2.co.uk> wrote:
>
> bch <brad.har...@gmail.com> wrote:
>>On 7/21/16, Robert Elz <k...@munnari.oz.au> wrote:
>>> Do you perhaps have /tmp mounted as a tmpfs with -o log ?
>>> (Can you show us /etc/fstab in its entirety?)
>>
>>For your viewing pleasure...
>>
>>=======
>># NetBSD /etc/fstab
>># See /usr/share/examples/fstab/ for more examples.
>>/dev/wd0a             /       ffs     rw,log           1 1
>>/dev/wd0b             none    swap    sw,dp            0 0
>>/dev/wd0f             /usr    ffs     rw,log           1 2
>>/dev/wd0e             /var    ffs     rw,log           1 2
>>/dev/wd0g             /home   ffs     rw,log           1 2
>>kernfs                /kern   kernfs  rw
>>ptyfs         /dev/pts        ptyfs   rw
>>procfs                /proc   procfs  rw
>>/dev/cd0a             /cdrom  cd9660  ro,noauto
>>
>>tmpfs /var/shm        tmpfs   rw,-m1777,-sram%25
>>=======
>
> Maybe try the following in /etc/rc.d/swap1:
>
> --- /u1/src/etc/rc.d/swap1      2015-04-21 08:50:23.741934176 +0100
> +++ /etc/rc.d/swap1     2016-04-25 23:20:07.391864699 +0100
> @@ -31,8 +31,8 @@
>  swap1_stop()
>  {
>         if checkyesno swapoff || [ -n "$rc_force" ]; then
> -               echo "Forcibly unmounting tmpfs filesystems"
> -               umount -aft tmpfs
> +               # echo "Forcibly unmounting tmpfs filesystems"
> +               # umount -aft tmpfs
>                 echo "Removing block-type swap devices"
>                 swapctl -U -t blk || [ $? = 2 ]
>         fi
>
>
>
>

Reply via email to