Re: Kernel Panic when writing to disk [update]
Congrats for discovering the bug. Am 21.06.2004 um 10:44 schrieb Matthieu Kopp: Another thread is triggered by a timer and is checking the amount of free disk space every second ... It's never a good idea to access the disk in regular intervals, IMHO[1]. This will avoid stopping the disk when it's otherwise unused. Annoying, especially on i/PowerBooks.
From what you told us about your goals, it's fully sufficient to check the disk's free space at the beginning of each write operation.
my $0.02 Markus [1] Printer Utility serves as a poor example here, it checks for incoming print jobs each second. Drives me nuts if this app is running somewhere in the background (e.g. due to a failed print operation) and the iBook won't go to sleep for no visible reason. - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Markus Hitter