Subject: Re: Partition tables (was: Re: Another changer, another changer problem)
To: None <current-users@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: current-users
Date: 10/07/1998 16:52:41
[ On Tue, October 6, 1998 at 16:59:08 (-0400), David Holland wrote: ]
> Subject: Partition tables (was: Re: Another changer, another changer problem)
>
> Disklabels and partition tables should be an abstract kernel service.
> The way this stuff is munged into all the disk drivers right now is
> really pretty disgusting.
Indeed.
> It would also cut way down on code duplication in the disk drivers.
This is one of the ugly parts alright where a wee bit more layering
would definitely make things easier to understand, easier to modify, and
probably a lot more elegant (and reliable).
A quick grep for "= RAW_PART" in the kernel source gives a good
indication of just how widely spread this disease is. Making partition
table handling a core part of the kernel instead of a function of every
disk driver is a big project for sure!
--
Greg A. Woods
+1 416 218-0098 VE3TCP <gwoods@acm.org> <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>