Subject: Re: dk(4) on raid(4)
To: Matthias Scheler <tron@zhadum.org.uk>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 08/08/2007 14:35:54
On Wed, Aug 08, 2007 at 01:11:12PM +0100, Matthias Scheler wrote:
> The code provided by Andreas Wrede currently looks for wedges
> on ed(4), ld(4), sd(4) and wd(4). Is there any reason not to have
> a wedge on a raid(4) volume?

No, there is none, he just overlooked it.

The list of all callers of dkwedge_discover() seems to be:

./cgd.c
./ofw/ofdisk.c
./ld.c
./ata/wd.c
./raidframe/rf_netbsdkintf.c
./scsipi/sd.c

(this would be devices that are able to autoconfigure wedges)

Devices supporting manualy added wedges seem to be:

./ofw/ofdisk.c
./ld.c
./ata/wd.c
./mca/ed_mca.c
./mscp/mscp_disk.c
./qbus/rl.c
./raidframe/rf_netbsdkintf.c
./scsipi/sd.c

I think this list should not differ - maybe worth a PR.

Martin