From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Wed, 11 Apr 2007 09:17:31 +0000 Subject: Re: not dynamically creating disk device nodes Message-Id: <3ae72650704110217k73ebec17wf92af95654d197fc@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On 4/9/07, Leisner, Martin wrote: > I'm trying to use udev-092 on linux-2.6.10. > > Most things work. > > udevstart works fine. > > But when I start playing around with fdisk, the device nodes aren't > getting erased/created > for the hard drive (udevstart had no problem figuring this out).. > > udevd says: > > udevd[1163]: udev_event_run: seq 707 forked, pid [1168], 'add' 'block', > 0 seconds old > udevd-event[1168]: udev_db_get_device: no db file to read > /dev/.udev/db/block@sda: No such file or directory > udevd-event[1168]: udev_db_get_device: no db file to read > /dev/.udev/db/block@sda: No such file or directory > udevd-event[1168]: run_program: '/lib/udev/vol_id --export > /dev/.tmp-0-0' Udev does not seem to get the correct major/minor number for the device, "0-0" looks wrong. It is likely, that the udev daemon (10 months old) expects MAJOR/MINOR-values in the event environment, but that kernel (2.5 years old) doesn't export it. Udevstart reads that information from the "dev" file in sysfs, that's why it may work just fine. Kay ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel