On 20Feb2012 13:29, Fedora Linux <fedorali...@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 <c...@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
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to