From: Russell Neches Date: Wed, 12 May 2004 23:55:09 +0000 Subject: 2.6.6/udev weirdness Message-Id: <20040512235509.GA3836@heliopause.vort.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 2.6.5, I used the following udev rules: # Russell's Rules BUS="scsi", SYSFS{model}="*JUMPDRIVE*", NAME="%k", SYMLINK="jumpdrive" BUS="scsi", SYSFS{model}="*iPod*", NAME="%k", SYMLINK="ipod" This allowed me to use these entries in /etc/fstab /dev/jumpdrive /mnt/jump vfat noauto,user 0 0 /dev/ipod /mnt/ipod vfat noauto,user 0 0 This was very convenient, particularly with gnome-volume-manager and assorted other cool things in Gnome 2.6. Indeed, this seems to be the whole point of the hotplug/udev/hal/dbus system, and when it works it's exceedingly cool. On 2.6.5, the symlinks created by the rules point as follows: /dev/jumpdrive -> sda1 /dev/ipod -> sdb2 Depending on attachment order, of course. Now, on 2.6.6, the same rules with the same hardware end up pointing thusly: /dev/jumpdrive -> sg0 /dev/ipod -> sg1 This is, ah, not particularly useful. I was under the impression that sysfs and udev were created explicitly to put a stop to the aimless wandering of devices in /dev. Now, I may have written stupid rules; if so, please enlighten me. I've tried several permutations, and the above is the only way I could obtain the desired results under 2.6.5, and under 2.6.6, I can't get /dev/jumpdrive to point to /dev/sda1 at all. The likely stupidity of the above rules notwithstanding, the underlying behavior of the system changed, and my rules broke. That shouldn't happen, even if the rules are dumb. This is a Bad Thing. Am I off base here, or is it reasonable to assume that 2.6 is ought to be kinda-sorta stable? Russell Random Version Information: Debian unstable/experimental udev package: 0.024-7 hal package: 0.2.90+2004042 hotplug package: 0.0.20040329-8 stock Linus 2.6.5 and 2.6.6 (built from source, no patches) ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel