From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux-hotplug-devel@digitalride.net Date: Wed, 08 Sep 2004 19:36:24 +0000 Subject: can udev SYMLINK{all_partitions} ? Message-Id: <20040908193625.26490.h64.wm@smtp.sc0.cp.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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_id808&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