Subject: Re: new kpi proposal, sysdisk(9)
To: Bill Studenmund <email@example.com>
From: Elad Efrat <elad@NetBSD.org>
Date: 12/30/2006 00:12:40
Bill Studenmund wrote:
> Why do we need a flag? Why is "FSYSTEM" different from other opens?
> i.e. don't we want the normal open mask handling?
because I care if the disk is mounted, or used for swap, more than I
care if someone just open()'d it.
> They aren't the same thing. What we'd need to do is indicate this all by
> partition or wedge. And that'd mean either partition/wedge-based names in
> a device-level proplib, or partition-level proplibs. I tend to think the
> latter is better.
this is wrong and practically defeats the purpose of the change. they
*are* the same as far as the security policy goes.