Gentoo Archives: gentoo-dev

From: Jakub Moc <jakub@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USB disks - idea/question
Date: Fri, 22 Dec 2006 16:22:48
Message-Id: 458C04DA.7000103@gentoo.org
In Reply to: [gentoo-dev] USB disks - idea/question by "Sven Köhler"
1 Sven Köhler napsal(a):
2 > Hi,
3 >
4 > so as you plugin a USB-disk, the kernel will recognize it, and it will
5 > be called sda, sdb, sdc or whatever ...
6 >
7 > I don't like that - why doesn't it get some more usefull device-name?
8
9 Completely off-topic here. Write yourself an UDEV rule, such as:
10
11 BUS=="usb", SYSFS{serial}=="123456789ABCDEF", KERNEL=="sd?1", NAME="%k",
12 SYMLINK+="usbstick"
13
14 and you'll have /dev/usbstick symlink there.
15
16 --
17 Best regards,
18
19 Jakub Moc
20 mailto:jakub@g.o
21 GPG signature:
22 http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0xCEBA3D9E
23 Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95 B30F 8717 D5FD CEBA 3D9E
24
25 ... still no signature ;)

Attachments

File name MIME type
signature.asc application/pgp-signature