Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] help with UDEV and USB flash drive
Date: Fri, 09 Jun 2006 12:00:12
Message-Id: 200606091345.28453.ext-dirk.heinrichs@nokia.com
In Reply to: [gentoo-user] help with UDEV and USB flash drive by Daevid Vincent
1 Am Freitag, 9. Juni 2006 10:12 schrieb ext Daevid Vincent:
2
3 Another hint:
4
5 > locutus mnt # cat /etc/udev/rules.d/local.rules
6 > # This is for my Intelligent Stick USB Memory flash drive
7 > BUS=="usb", SYSFS{serial}=="20031112223132-01", NAME="istick",
8 > MODE="0666"
9 >
10 > locutus linux # cat /etc/fstab
11 > # Intelligent Stick flash drive (UDEV)
12 > /dev/istick /mnt/istick vfat defaults,noauto,user,umask=000 0 0
13 >
14 > locutus linux # ll /dev/istick
15 > crw-rw-rw- 1 root root 21, 1 Jun 9 00:32 /dev/istick
16
17 The device has major number 21, and char device 21 is SCSI generic, not SCSI
18 disk (which is block device 8, see below). This may come from not having
19 KERNEL=="sd*" in your rule.
20
21 > locutus linux # ll /dev/sda1
22 > brw-rw---- 1 root disk 8, 1 Jun 9 00:32 /dev/sda1
23
24 Bye...
25
26 Dirk
27 --
28 Dirk Heinrichs | Tel: +49 (0)162 234 3408
29 Configuration Manager | Fax: +49 (0)211 47068 111
30 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
31 Hambornerstraße 55 | Web: http://www.capgemini.com
32 D-40472 Düsseldorf | ICQ#: 110037733
33 GPG Public Key C2E467BB | Keyserver: www.keyserver.net