Date: Tue, 05 Sep 1995 08:31:54 -0500 From: Jon Loeliger <jdl@chrome.onramp.net> To: Bruce Evans <bde@zeta.org.au> Cc: vak@cronyx.ru, hackers@freebsd.org Subject: Re: Help installing IDE CD-ROM driver Message-ID: <199509051331.IAA19701@chrome.onramp.net> In-Reply-To: Your message of "Tue, 05 Sep 1995 20:33:54 %2B1000." <199509051033.UAA02568@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, Bruce Evans scribbled: > wcd actually sort of supports 2^30 partitions, all the same (because > wcdopen() doesn't check the top 30 bits in the device number :-(). > There would be aliasing problems if someone created one of the other > minors and used both. There are aliasing problems now between the cdev > and the bdev. E.g., opening the cdev while the bdev is open invalidates > the F_OPEN flag and messes up media change stuff. The `fmt' arg to > wdopen() and wdclose() that is required to distinguish cdevs from bdevs > is missing. dsopen() and dsclose() handle all these aliasing problems. I have also modified wcd.c's wcdattach() to return the obvious -1 or 0 upon failure or success respectively. Seems reasonable to me given atapi.c expects to use the return code that way too... jdl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509051331.IAA19701>