Subject: Re: Work-in-progress "wedges" implementation
To: Daniel Carosone <>
From: Jason Thorpe <>
List: tech-kern
Date: 09/30/2004 20:58:06
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Sep 30, 2004, at 5:33 PM, Daniel Carosone wrote:

> Sure, if I give (say) a user access to that particular partition, for
> usermounted filesystems, they can then rewrite my disklabel as well.

Right now, bounds_check_with_label() (a machine-dependent function) 
ensures that writes to the "label area" are disallowed unless the disk 
is in "writing a new label" state.

How that should be done in a generic way with wedges is really an open 
question.  Perhaps the label discovery module should register a list of 
"protected" extents.  But I don't think creating special wedges is the 
right solution, that can be written only by writing to the parent 
disk's RAW_PART.

         -- Jason R. Thorpe <>

content-type: application/pgp-signature; x-mac-type=70674453;
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

Version: GnuPG v1.2.3 (Darwin)