Re: FOPS needs Shutdown SIG Hook!!!

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 4 Jun 2000 00:54:22 +0100 (BST)


> Regardless of my need for this, it would be useful for all devices.
> This would remove the need of special scripts to do any special device
> cleanups before shutdown/reboot......

The kernel flushes all its blocks, and you get told your block device
is being closed so you can act then. You can also hook the reboot notifier
for final reboot stuff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/