1 |
Am Freitag, 9. Juni 2006 10:35 schrieb ext Neil Bothwick: |
2 |
|
3 |
> That's because you are trying to mount the whole device, not the |
4 |
> partition. |
5 |
|
6 |
Even the whole device should be a block device, shouldn't it? And if it had |
7 |
a filesystem, you could even mount it, having one partition is as good as |
8 |
having no partition, at least for Linux. |
9 |
|
10 |
> BUS=="usb", KERNEL=="sd?1", SYSFS{idProduct}=="0845", |
11 |
> SYSFS{idVendor}=="08ec", NAME="gigabyte", SYMLINK="%k usb/gigabyte" |
12 |
|
13 |
OK, here is what I do :-) |
14 |
|
15 |
BUS=="scsi", KERNEL=="sd*", SYSFS{model}=="HardDrive ", |
16 |
SYSFS{rev}=="1.11", SYSFS{vendor}=="32MB ", SYMLINK="usb/stick%n" |
17 |
|
18 |
This will give me nodes for the device itself and its partitions. |
19 |
|
20 |
Bye... |
21 |
|
22 |
Dirk |
23 |
-- |
24 |
Dirk Heinrichs | Tel: +49 (0)162 234 3408 |
25 |
Configuration Manager | Fax: +49 (0)211 47068 111 |
26 |
Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com |
27 |
Hambornerstraße 55 | Web: http://www.capgemini.com |
28 |
D-40472 Düsseldorf | ICQ#: 110037733 |
29 |
GPG Public Key C2E467BB | Keyserver: www.keyserver.net |