Gentoo Archives: gentoo-user

From: Jorge Almeida <jalmeida@××××××××××××.pt>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] confused udev?
Date: Thu, 17 Nov 2005 17:55:58
Message-Id: Pine.LNX.4.63.0511171737200.7664@weber.math.ist.utl.pt
In Reply to: Re: [gentoo-user] confused udev? by Richard Fish
1 On Thu, 17 Nov 2005, Richard Fish wrote:
2 >
3 > Can you post your current rules. Also, don't forget Dirk's suggestion
4 > regarding BUS=="usb" instead of scsi.
5 >
6 > You could use the SYMLINK target instead of changing the name. Something like:
7 >
8 > BUS=="usb" ... NAME="%k", SYMLINK="plextor_memstick%n"
9 >
10 > This would keep the default sdX device nodes, but give you symlinks
11 > for your persistent names.
12 >
13 > -Richard
14 >
15 >
16 Current:
17 BUS=="scsi", SYSFS{vendor}=="PLEXTOR*", SYSFS{model}=="PlexFlash-2*", NAME="%k", SYMLINK="plextor_memstick%n"
18 BUS=="scsi", SYSFS{vendor}=="Maxtor 6*", SYSFS{model}=="L250R0*", NAME="%k", SYMLINK="external_hd%n"
19 No change (i.e., still no /dev/external...)
20 /dev/plextor_memstick and /dev/plextor_memstick1 exist as symlinks.
21 With "usb" instead of "scsi", also no change. With
22 NAME="plextor_memstick%n" etc, no change (except that there are dev
23 nodes, not symlinks)
24
25 Jorge
26 --
27 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] confused udev? Richard Fish <bigfish@××××××××××.org>