Re: FOPS needs Shutdown SIG Hook!!!

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Jun 03 2000 - 18:54:22 EST


> 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/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:17 EST