init vs shutdown

From: Paveza, Gary (gary.paveza@AIG.COM)
Date: Tue Jun 15 2004 - 08:12:52 EDT


Can someone explain the difference between doing an init 5 and a shutdown -i
5? I'm fairly certain that the proper way to shutdown the system is using
the shutdown command, but we have an application vendor who insists that the
proper method is init 5. Interestingly enough, this weekend, a box was
shutdown with init 5 and had filesystem corruption, but the system that was
done via shutdown didn't.

I've checked the man pages for both, and while it states that init 5 will
bring to a power down state, it isn't really clear which should be used.

---------------------------------------------------------
Gary Paveza, Jr.
Senior Systems Administrator -CSA
(302) 252-4831 - phone
(302) 588-6368 - cell
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:52 EDT