atom feed20 messages in org.freebsd.freebsd-fsRe: HFS/HFS Plus driver and tools for...
FromSent OnAttachments
Yar TikhiyMar 22, 2003 7:16 am 
Matthew N. DoddMar 22, 2003 6:17 pm 
Robert WatsonMar 23, 2003 6:34 pm 
Christoph SoldMar 24, 2003 1:21 am 
Yar TikhiyMar 24, 2003 4:04 am 
Yar TikhiyMar 24, 2003 7:54 am 
Max KhonMar 24, 2003 8:52 am 
Yar TikhiyMar 24, 2003 10:14 am 
Matthew N. DoddMar 24, 2003 10:21 am 
Max KhonMar 24, 2003 10:24 am 
Mark DayMar 24, 2003 5:09 pm 
Max KhonMar 24, 2003 9:41 pm 
Yar TikhiyMar 25, 2003 3:48 am 
Terry LambertMar 25, 2003 4:34 am 
Yar TikhiyMar 25, 2003 4:55 am 
Yar TikhiyMar 25, 2003 5:23 am 
Brandon D. ValentineMar 25, 2003 5:31 am 
Mark DayMar 25, 2003 8:52 am 
Matthew N. DoddSep 27, 2003 8:29 pm 
Yar TikhiyNov 21, 2003 10:44 am 
Subject:Re: HFS/HFS Plus driver and tools for 5.x are available
From:Mark Day (md@apple.com)
Date:Mar 25, 2003 8:52:50 am
List:org.freebsd.freebsd-fs

On Tuesday, March 25, 2003, at 03:48 AM, Yar Tikhiy wrote:

BTW, correct me if I'm wrong, but a new signature (HFS has it at the first two bytes of its volume header) and a change to the function for comparing two Unicode keys (so it will compare them respecting case) is all that is needed to make a case-sensitive variant of HFS. Of course, the utilities (fsck_hfs in particular) should be changed, too.

You'll also want to change the code that deals with the name cache. For case insensitivity, it does some wacky things. If I remember right, it actually stores in the name cache all of the case variants you actually passed into the kernel. That is, if you did a lookup on both "a" and "A", then both of those will be in the name cache, referring to the same file. When you move or rename, I think it ends up invalidating every entry for the directory, instead of the single name.

You could get by with the current behavior, but you can get better performance if you made the name caching code work like UFS and the rest.

-Mark

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message