Re: Typo in /bsd/hfs/hfs_hotfiles.c
Re: Typo in /bsd/hfs/hfs_hotfiles.c
- Subject: Re: Typo in /bsd/hfs/hfs_hotfiles.c
- From: Quinn <email@hidden>
- Date: Mon, 5 Jan 2004 11:15:36 +0000
At 16:13 -0800 22/12/03, Chris Adams wrote:
bsd/hfs/hfs_hotfiles.c line 1344 handles errors during the main loop in
hotfiles_evict:
printf("hotfiles_evict: err % relocating file\n", error, key->fileID);
which looks like it should have been something more like:
printf("hotfiles_evict: err %i relocating file %u\n", error,
key->fileID);
Please file this as a bug. This is the only way to guarantee that
the right folks will look at it.
<
http://developer.apple.com/bugreporter/>
That's just a minor concern, however, with the larger question about
what causes these errors and how to fix the problem as there doesn't
appear to be any documentation about this (or hotfiles in general).
We're currently working on documentation for the on-disk
representation of hotfiles. I recently reviewed a late draft so I
hope to see a public version soon.
Running fsck on one test system seems to take care of the problem
(raising questions about what it changes on an otherwise clean,
journaled filesystem) but that may also be coincidence. It does seem
like it would be useful to remove a hotfile entry the first time an
error is encountered to avoid continually spewing kernel messages.
I have no idea what's causing this. It'd be interesting to know what
the error number is.
You probably should file a bug about the ongoing error spewage.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.