Date: Sun, 26 Jan 2003 22:49:12 -0800 (PST) From: Nate Lawson <nate@root.org> To: phk@freebsd.org Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/disklabel disklabel.c Message-ID: <Pine.BSF.4.21.0301262246160.84307-100000@root.org> In-Reply-To: <15853.1043649348@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Jan 2003 phk@freebsd.org wrote: > In message <Pine.BSF.4.21.0301262230140.84307-100000@root.org>, Nate Lawson wri > tes: > >I'm not sure why boot block/disk label writes can't be done as ordinary > >writes and semantic checking performed by whichever GEOM layer thinks it > >knows best about that portion of a disk. What is wrong with that > >approach? > > It doesn't work without running a lot of special-case testing code, > possibly several times, on each and every disk I/O request. I thought GEOM would (eventually) support providers registering for byte ranges of the same device. For example: geom_i386mbr: 0-511 (parse PC mbr) geom_label: 512-8k (parse bsd label) All requests that were for other ranges would bypass these providers, making it unnecessary to run any special case code for most requests. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0301262246160.84307-100000>