Subject: Re: new kpi proposal, sysdisk(9)
To: Bill Studenmund <>
From: Thor Lancelot Simon <>
List: tech-kern
Date: 12/29/2006 17:55:47
On Fri, Dec 29, 2006 at 02:53:00PM -0800, Bill Studenmund wrote:
> We already have (or had, I haven't looked recently) code to ensure that 
> you don't open overlapping partitions. Combined with the whole-disk 
> partition, that lets us effectively merge the two (there is something you 
> open that is the whole disk).

Elad and I looked at making this work for all ports, and with wedges, and
concluded that it was basically hopeless.  The only safe and sane policy
seems to be "if the kernel has any partition on this disk open, don't
let users open any of them".