Hi, Is there a procedure to gracefully shutdown the file system in Linux? For ex, if there are constant power failures i want to have some mechanism where i detect these conditions(like say delayed hardware reset) and gracefully shutdown the file system. Also, i want to know the sequence of initializations that happen once the kernel starts executing from 0x100000 till /sbin/init executed. can someone please point me where to look in the code.
Thanks Uday