All of lore.kernel.org
 help / color / mirror / Atom feed
* can udev SYMLINK{all_partitions} ?
@ 2004-09-08 19:36 linux-hotplug-devel
  2004-09-08 22:40 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: linux-hotplug-devel @ 2004-09-08 19:36 UTC (permalink / raw)
  To: linux-hotplug

I've been using the NAME{all_partitions} syntax successfully for a usb card reader, but I also need a symlink created for each partition as
well. For example, I would like both the normal /dev/sda1,/dev/sda2, etc. AND /dev/usb/cf1,/dev/usb/cf2, etc. accessible.  The goal is to
use udev to maintain all the normal kernel names while creating symlinks to more intuitive spots that may be automounted for other users who
don't want to mess with /dev/sdX.
Going out on a limb, I tried the syntax SYMLINK{all_partitions} with several variations (which didn't work) including:
BUS="scsi", KERNEL="sd*", SYSFS{model}="*HS-CF*" ,SYSFS{vendor}="*IN-WIN*", NAME{all_partitions}="%k", SYMLINK{all_partitions}="usb/cf"
BUS="scsi", KERNEL="sd*", SYSFS{model}="*HS-CF*" ,SYSFS{vendor}="*IN-WIN*", NAME{all_partitions}="%k", SYMLINK{all_partitions}="usb/cf%n"

Am I missing an easy way to achieve this, or is someone already working on a SYMLINK{all_partitions} syntax?
  
Thanks,
Mike


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-08 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-08 19:36 can udev SYMLINK{all_partitions} ? linux-hotplug-devel
2004-09-08 22:40 ` Kay Sievers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.