From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brad Boyer Subject: Re: [ANNOUNCE] new HFS(+) driver Date: Thu, 2 Oct 2003 11:52:48 -0700 Sender: linux-hfsplus-devel-admin=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20031002185248.GA24046@pants.nu> References: <20031002180645.GG7665@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Roman Zippel , linux-hfsplus-devel=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-fsdevel=u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel=u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: To: viro=+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org Content-Disposition: inline In-Reply-To: <20031002180645.GG7665@parcelfarce.linux.theplanet.co.uk> Errors-To: linux-hfsplus-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: linux-fsdevel.vger.kernel.org On Thu, Oct 02, 2003 at 07:06:45PM +0100, viro=+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org wrote: > What the devil are you doing with get_gendisk() in there? Neither 2.4 > nor 2.6 should be messing with it. Since this topic has come up, I'd like to ask about something that apparently only affects HFS/HFS+. For some reason, Apple decided that a Mac style CD-ROM should be a partitioned device. However, the Linux kernel is quite insistent that a CD-ROM is not able to be partitioned. Because of this, there's a hack to manually read a partition map and find the correct part of the block device. Would it be possible to have a way to use the gendisk and partitioning code that is already in the kernel for regular disks to read these CDs? It also might be useful for the loopback device. Just as an example of worst case, the main A/UX install CD had not only an HFS partition, but multiple UFS partitions. If you really want a view of the extent of Apple hackery, take a look at arch/m68k/mac and groan. :) Brad Boyer flar=POGeQm5F+FGB+jHODAdFcQ@public.gmane.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf