Gentoo Archives: gentoo-user

From: Matias Grana <matiasg@××××××.ar>
To: gentoo user Mailing List <gentoo-user@l.g.o>
Subject: [gentoo-user] udev does not create /dev/hdb
Date: Tue, 25 Oct 2005 15:43:47
Message-Id: 20051025153928.GA8352@dm.uba.ar
1 hi;
2 I upgraded to udev-070 recently (and now to udev-070-rc1).
3 Since then, I can't mount /mnt/cdrom properly.
4 Before, my /dev directory had a /dev/hdb, as well as /dev/hdb1,
5 /dev/hdb2 .... . Now, it only has /dev/hdb1, /dev/hdb2, but /dev/hdb is
6 no longer there. I still don't understand how udev works; I read the
7 guide on
8 http://www.gentoo.org/doc/en/udev-guide.xml
9 but it didn't help. I've read also a guide at
10 http://www.reactivated.net/writing_udev_rules.html
11 and I craeted the file /etc/udev/rules.d/10-local.rules, which reads as
12
13 ----------------------- /etc/udev/rules.d/10-local.rules ---------
14 BUS="ide", KERNEL="hdb", NAME="%k", SYMLINK="cdrom cdroms/cdrom%n"
15 ------------------------------------------------------------------
16
17 But it doesn't help. What I find rather strange is that if I do
18
19 # mount /mnt/cdrom
20
21 (my /etc/fstab points /mnt/cdrom to /dev/cdroms/cdrom0, which is a
22 symlink to /dev/hdb) I get "device does not exist". But if I try to
23 mount it on hdb1, it seems to create the file /dev/hdb, and now I can
24 mount it:
25
26 rojo ~ # mount -tiso9660 /dev/hdb /mnt/cdrom/
27 mount: special device /dev/hdb does not exist
28 rojo ~ # mount -tiso9660 /dev/hdb1 /mnt/cdrom/
29 mount: /dev/hdb1 is not a valid block device
30 rojo ~ # mount -tiso9660 /dev/hdb /mnt/cdrom/
31 mount: block device /dev/hdb is write-protected, mounting read-only
32
33 Any help as how to have the node /dev/hdb created at boot in a
34 somewhat clean way is appreciated.
35
36 Please notice also that at /etc/conf.d/rc I have the line
37
38 RC_DEVICE_TARBALL="yes"
39
40 which is also not helping here.
41
42 Thanks,
43 Matias
44 --
45 gentoo-user@g.o mailing list