Displaying 2 results from an estimated 2 matches for "s01reboot".
2009 Dec 12
2
Deleting contents of /tmp on shutdown
I use to have a line of code in /etc/init.d/syslog (I think this was the
file) to delete the contents of my /tmp directory on shutdown. It originally
came from fedora. I have searched for it but can't find it again.
Anyone happen to have it?
TIA
2016 Jan 28
0
verify clean umount
This is on a C6 systems.
How can I verify that an ext4 data partition is being unmounted properly at
(reboot/shutdown) on a sysV init system. I've looked at S01reboot and
S01halt scripts in etc but what I'm concerned about is that I mounted my
partition on a tmpfs dir mount point. So if those S01 scripts try to umount
the tmpfs dir first they may get a "target busy" and then they will try a
force umount. (I think that's not good)
Basically I...