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:Terry Lambert (tlam@mindspring.com)
Date:Mar 25, 2003 4:34:58 am
List:org.freebsd.freebsd-fs

Yar Tikhiy wrote:

On Tue, Mar 25, 2003 at 11:41:59AM +0600, Max Khon wrote:

Directory entries are stored in a B-tree, sorted in part on the case-insensitive name. If you make the names in the B-tree keys case sensitive, your sort order will be different, and you'll be incompatible with existing HFS or HFS Plus volumes. If you want to experiment with this, I strongly suggest using a different signature word.

It can be newfs-time option. Case-sensitive HFS+ volumes can have different signature in MBR (or whatever partitioning scheme is used on that hardware platform). There is a plenty of variants.

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.

Case sensitive on storage, case insensitive on lookup only works if the lookup happens with knowledge of the case insensitivity.

I rather expect that HFS/HFS+ does it's globbing in the kernel, too, unless it depends on iteration. So that would be another difference, as well.

I guess the alternative to that would be to iterate everything, and apply the case insensitivity algorithm in the shell, too, but that would probably be error-prone. From my own memory of HFS usage on MacOS, the globbing is in the kernel.

BTW: The NTFS/FAT32 has this same feature under Windows, at least as far as that goes, e.g.:

C:\>cd "Program FILES" C:\Program Files>

So technically, it should probably be handed the same way for those two FS's. 8-).

-- Terry

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