Gentoo Archives: gentoo-amd64

From: Lukas Oliva <xoliva02@×××××××××××××××.cz>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] USB flash drive mount point fun
Date: Wed, 27 Jun 2007 21:43:58
Message-Id: op.tulm7csiab57r0@localhost
In Reply to: Re: [gentoo-amd64] USB flash drive mount point fun by Jeffrey Gardner
1 Yes, thanks for these, but I meant some way of teling udev - find out i
2 this is flash storage (general), no sata disk from box, no SD memory card,
3 no camera and mount it to /dev/flash.
4
5 On Wed, 27 Jun 2007 23:08:08 +0200, Jeffrey Gardner <je_fro@g.o>
6 wrote:
7
8 > -----BEGIN PGP SIGNED MESSAGE-----
9 > Hash: SHA1
10 >
11 > Lukas Oliva wrote:
12 >> That is nice, but could this be modified for every USB Mass storage
13 >> device or better just to flash memory?
14 >
15 > Yes, it can be modified for every device...here's more:
16 >
17 > BUS=="ide", KERNEL=="hdd", NAME="%k", SYMLINK="dvd", GROUP="disk",
18 > OPTIONS="last_rule"
19 > BUS=="ide", KERNEL=="hdc", NAME="%k", SYMLINK="dvdburner", GROUP="disk",
20 > OPTIONS="last_rule"
21 > BUS=="usb", SYSFS{manufacturer}=="Sony DSC", KERNEL=="sd?1", NAME="%k",
22 > SYMLINK="camera"
23 > BUS=="usb", SYSFS{manufacturer}=="Handspring Inc", NAME="tts/USB1"
24 > SYMLINK="pilot"
25 > KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k",
26 > SYMLINK="input/wacom"
27 > SUBSYSTEMS=="scsi", SYSFS{vendor}=="ST325062", KERNEL=="sd?1",
28 > SYMLINK="external"
29 > KERNEL=="eth*", SYSFS{address}=="00:e0:81:2c:91:9e", NAME="eth0"
30 > KERNEL=="eth*", SYSFS{address}=="00:04:23:9e:ed:16", NAME="eth1"
31 > KERNEL=="eth*", SYSFS{address}=="00:04:23:9e:ed:17", NAME="eth2"
32 >
33 >
34 >
35 > - --
36 > Jeffrey Gardner
37 > Gentoo Developer
38 > Public PGP Key ID: 4A5D8F23
39 > hkp://pgpkeys.mit.edu
40 > -----BEGIN PGP SIGNATURE-----
41 > Version: GnuPG v1.4.7 (GNU/Linux)
42 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
43 >
44 > iD8DBQFGgtG3iR2KxEpdjyMRAno7AKCaKufEl+V50gqo5PNizQU+4bUuAgCfa0Si
45 > 6tf9LZ+aKi8aOZKLr2LDsYI=
46 > =SV0D
47 > -----END PGP SIGNATURE-----
48
49
50 --
51 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] USB flash drive mount point fun Steev Klimaszewski <steev@g.o>