Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: repeated failure to properly shutdown
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 <rjs%fdy2.co.uk@localhost> wrote:
>
> bch <brad.harder%gmail.com@localhost> wrote:
>>On 7/21/16, Robert Elz <kre%munnari.oz.au@localhost> 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
>
>
>
>
Home |
Main Index |
Thread Index |
Old Index