Subject: Re: Can't open /dev/vinum/control: Device not configured
To: Greg 'groggy' Lehey <grog@NetBSD.org>
From: Thor Lancelot Simon <firstname.lastname@example.org>
Date: 11/12/2003 18:32:09
On Thu, Nov 13, 2003 at 09:21:53AM +1030, Greg 'groggy' Lehey wrote:
> On Wednesday, 12 November 2003 at 22:54:29 +0100, TeCeEm@gmx.de wrote:
> >> On Wednesday, 12 November 2003 at 5:56:34 +0100, TeCeEm@gmx.de wrote:
> >>> # ls -l /dev/vinum/
> >>> total 14
> >>> crw------- 1 root wheel 108, 262142 Nov 12 05:30 control
> >> Hmm. This looks like a victim of the change of major device number.
> >> Vinum now has major number 162. Try rm -rf /dev/vinum and see if it
> >> works like that.
> > Ok, I figure these numbers are defined somewhere else than /sys/dev/vinum or
> > /sys/sbin/vinum and my kernel being out of sync to the userland is an issue
> > here.
> Yes, that's the problem. You'll need to rebuild vinum(8).
Why does the vinum executable have special knowledge of the device *number*
for Vinum, rather than using filesystem naming? That seems like a severe