Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2016 21:46:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211466] swapoff should not be called on reboot
Message-ID:  <bug-211466-8-g03y13pIDw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211466-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211466-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211466

Jilles Tjoelker <jilles@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles@FreeBSD.org

--- Comment #1 from Jilles Tjoelker <jilles@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 f=
rom
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 the=
se
days where much is started from rc instead.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211466-8-g03y13pIDw>