On Thu, 29 Nov 2012 19:07:11 +0000, Jorge Almeida wrote: > This is indeed the device I meant, and the serial number is the > "E68911000519" substring. But this symlink exists because udev created > it. I need to somehow dig it out of /sys, not out of /dev. IOW, how did > udev retrieved the information to create the symlink?
This is all done in /usr/lib/udev/rules.d/60-persistent-storage.rules ENV{SERIAL} seems to be the key, but udev rules use variables rather than accessing /sys directly. I really like udev as it makes just about anything you want to do easy, it's a shame to watch it getting lost. -- Neil Bothwick Does someone know the cheats for WindowsXP?
signature.asc
Description: PGP signature