Subject: Re: mbrlabel vs. "Device not configured"
To: None <cube@cubidou.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: port-i386
Date: 06/24/2003 15:09:26
On Tue, 24 Jun 2003 cube@cubidou.net wrote:
> Well, code says so (from wdopen in sys/dev/ata/wd.c):
>
>         /* Check that the partition exists. */
>         if (part != RAW_PART &&
>             (part >= wd->sc_dk.dk_label->d_npartitions ||
>              wd->sc_dk.dk_label->d_partitions[part].p_fstype == FS_UNUSED)) {
>                 error = ENXIO;
>
> So yeah, it works for wd0d, but not for wd0g.

IC... hm, I's prefer to be able to open "unused" partitions.
I wonder what the effects would be if the check was removed.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/