The HyperNews Linux KHG Discussion Pages

Note: Through application which has opened the device

Forum: Device Drivers
Re: Question Device Driver notification of "Linux going down" (Stan Troeh)
Keywords: device drivers shutdown modules init watchdog
Date: Wed, 14 Aug 1996 04:55:38 GMT
From: Michael K. Johnson <johnsonm@redhat.com>

In order to shut down a device, have a user-level application have it opened, and when it is sent SIGTERM by init (or, presumably, any other process), close the device or alert it of the shutdown in some other way.