Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] lilo device-mapper & udev
Date: Sun, 05 Feb 2006 10:34:07
Message-Id: 20060205102733.1f1fe09a@krikkit.digimed.co.uk
In Reply to: Re: [gentoo-user] lilo device-mapper & udev by Richard Fish
1 On Sat, 4 Feb 2006 18:44:20 -0700, Richard Fish wrote:
2
3 > I've generally found it easier to keep the /dev/sd* names and just
4 > SYMLINK the names I want. Example:
5 >
6 > BUS=="usb", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk",
7 > NAME="%k", SYMLINK="usbkey%n"
8
9 The disadvantage of this is that pmount uses the real device name, not
10 the symlink, so you still end up with devices mounted on inconsistent
11 directory names in /media. that's why I prefer to do it the other way
12 round; NAME="somethingdescriptive", SYMLINK="%k".
13
14
15 --
16 Neil Bothwick
17
18 Velilind's Laws of Experimentation:
19 1. If reproducibility may be a problem, conduct the test only once.
20 2. If a straight line fit is required, obtain only two data points.

Attachments

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

Replies

Subject Author
Re: [gentoo-user] lilo device-mapper & udev Richard Fish <bigfish@××××××××××.org>
[gentoo-user] Re: lilo device-mapper & udev [SOLVED] Francesco Talamona <ti.liame@×××××.it>