Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Faster recovery after error' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Faster recovery after error
Authored by: GaelicWizard on Thu, Apr 24 2008 at 10:28AM PDT
So, if you change the hint to:

cat /dev/zero > /tmp/junk & rm /tmp/junk
then the file will magically disappear as soon as the drive fills up. This is slightly safer since it does not fail if RAM fills up to. For example, there are reasons why a rm call might not complete. In a ram-tight situation (if, say, the filesystem cache were to get rather large), then a fork might fail if there's no room on the swap device for more vm. JP

---
Pell

[ Reply to This | # ]