:: Re: [DNG] runit: unclean shutdown?
Top Page
Delete this message
Reply to this message
Author: Syeed Ali
To: dng
Subject: Re: [DNG] runit: unclean shutdown?
On Sun, 12 Mar 2023 22:47:39 -0400
Steve Litt <slitt@???> wrote:

> The preceding confuses me a little because my first instinct would be
> that sync wouldn't work on a read-only filesystem, because what sync
> does is write cached disk writes to disk. A quick web search yielded
> nothing on this subject. But perhaps sync *does* work on readonly
> filesystems. If that's the case, leaving out the sync would leave
> cached writes and perhaps would trigger a journal recovery on the next
> reboot. So if you haven't yet, but a sync command after you've
> unmounted all disk partitions and set the root partition read-only.

I recall being confused when I learned about SysRq-REISUB because I
also found references to SysRq-REISUSB where S is Sync.



tErminate (SIGTERM to all)
kIll      (SIGKILL to all)
Unmount      (remount all as read-only)