[Bug 211466] swapoff should not be called on reboot
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 30 21:46:32 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211466
Jilles Tjoelker <jilles at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jilles at FreeBSD.org
--- Comment #1 from Jilles Tjoelker <jilles at FreeBSD.org> ---
It actually works such that /etc/rc.d/swap does not remove swap on shutdown
while /etc/rc.d/swaplate does. This seems reasonable to me, since late swap
devices might become unavailable due to further rc.d stop operations which
would cause userland crashes, while regular swap devices can be assumed to
remain available throughout the shutdown process.
It would be good to start big daemons after swaplate starts and stop them
before swaplate stops, so the extra swap is available to them and the I/O from
swapoff is minimized. I don't know whether this is the case.
Before running rc.shutdown, init softly kills sessions from /etc/ttys (via
SIGHUP to the main process and revoke(2)). This may not be very helpful these
days where much is started from rc instead.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list