From owner-freebsd-fs Tue Mar 25 3:49: 9 2003 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCE7137B401; Tue, 25 Mar 2003 03:49:06 -0800 (PST) Received: from comp.chem.msu.su (comp-ext.chem.msu.su [158.250.32.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id B15C943F3F; Tue, 25 Mar 2003 03:49:00 -0800 (PST) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.12.3/8.12.3) with ESMTP id h2PBmSgO027503; Tue, 25 Mar 2003 14:48:33 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.12.3/8.12.3/Submit) id h2PBmOr7027502; Tue, 25 Mar 2003 14:48:24 +0300 (MSK) (envelope-from yar) Date: Tue, 25 Mar 2003 14:48:24 +0300 From: Yar Tikhiy To: Max Khon Cc: Mark Day , "Matthew N. Dodd" , ppc@FreeBSD.ORG, fs@FreeBSD.ORG Subject: Re: HFS/HFS Plus driver and tools for 5.x are available Message-ID: <20030325114824.GD26415@comp.chem.msu.su> References: <20030324225320.B96310@iclub.nsu.ru> <86E4FD83-5E5E-11D7-B20F-00039354009A@apple.com> <20030325114159.A18471@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030325114159.A18471@iclub.nsu.ru> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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. -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message