Start script
Cameron Simpson
cs at zip.com.au
Mon Feb 20 22:28:12 UTC 2012
On 20Feb2012 13:29, Fedora Linux <fedoralinux at toursbymexico.com> wrote:
| I created a script
[...]
| rm -fr /tmp/*
| rm -fr /tmp/.*
Just a remark. DO NOT DO THIS!
Other program may well have stuff in /tmp active by the time your script
runs. It MUST NOT blow things away in a careless and untargeted way like
this.
/tmp /cleaning stuff must happen as the very first thing in a system (if
it happens at all). NOT as part of some random start/stop script that
may run at any time (including long after the system starts, if you shut
the service down and start it up again, a not uncommon maintenance
process).
Cheers,
--
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
The ZZR-1100 remains the big, fast, versatile bike for the rider with a
regular pillion passenger or the desire to humiliate just about every
other road user who attempted to match its straight line acceleration. - REVS
More information about the users
mailing list