Subject: Re: CVS commit: basesrc/lib/libutil
To: Luke Mewburn <lukem@wasabisystems.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 12/09/2001 11:34:57
On Sun, Dec 09, 2001 at 03:49:27PM +1100, Luke Mewburn wrote:

 > opendisk(3) never supported a `wildcard' "iscooked" (as you call it.)
 > Previously it just never enforced the BLK/CHR semantics.

Maybe you never understood the intent.

"iscooked" was meant to determine only whether or not opendisk(3) added
an "r" to the device name, i.e. if you specify "sd0" on the command line,
and the program uses "iscooked == 0", then it would attempt to open
"/dev/rsd0c".  If opendisk(3) didn't need to construct the device path,
then iscooked wasn't supposed to do anything.

Basically, you didn't understand what "iscooked" was used for, and you
changed the behavior without fully understanding the consequences.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>