Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 07:35:48 +0100
From:      phk@freebsd.org
To:        Nate Lawson <nate@root.org>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sbin/disklabel disklabel.c 
Message-ID:  <15853.1043649348@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 26 Jan 2003 22:32:20 PST." <Pine.BSF.4.21.0301262230140.84307-100000@root.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0301262230140.84307-100000@root.org>, Nate Lawson wri
tes:
>On Sun, 26 Jan 2003 phk@freebsd.org wrote:
>> Robert Watson writes:
>> >We've always had a problem with ioctl's operating on storage devices
>> >regardless of the open mode (and permitted access modes) for the devidce
>> >nodes.
>> 
>> And it ain't going to get any better as we get more weird "disks"
>> in the GEOM framwork.
>
>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.

Considering how often people update their bootblocks, this would be
a totally unacceptable tradeoff.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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?15853.1043649348>