-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> (12.04.2002 @ 1049 PST): Stephen Montgomery-Smith said, in 0.5K: <<
> When the system shuts down (like for example if I press CTRL-ALT-DEL), 
> do the running processes receive SIGTERM before or after all the 
> filesystems have been umounted?  Would this be done even if I do 
> something like
> kill -USR1 1
> 
> (Please copy the answer to me as I am not subscribed to this mailing list.)
>> end of "What happens at shutdown" from Stephen Montgomery-Smith <<

Please see shutdown(8), init(8), and halt(8).

Programs get SIGTERM (and then SIGKILL) before the disks are unmounted. This
would be disastrous otherwise, as processes could still have files open.

For your SIGUSR1 question, the answer is yes, but you should read
init(8) for more details. It's a well-written manpage. Start at line 84.

# Adam


- --
Adam Weinberger
vectors.cx      >>      [EMAIL PROTECTED]
FreeBSD.org     <<      [EMAIL PROTECTED]
Bayer Berkeley  >>      [EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE97vE4o8KM2ULHQ/0RArLuAKChKXKvds2q9L9zxwvFduiwZb/lUACgoC9J
J38hGdp67YR6xSP9yVEXNoc=
=Z557
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to