2009/1/1 ajit jain <ajit4mail@xxxxxxxxx>: > Hi Everyone, > > I am writing a driver, which require me to insert some rc scripts just > before the umount for the file-system takes place. > I am not able to understand which script does the unmount of the > file-system. > > Please help. > > Thanks & regards, > ajit grep umount /etc/rc0.d/ gives you the answer. On my debian it is /etc/rc0.d/S60umountroot and /etc/rc0.d/S90halt /Martin -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ