From: Mathias Stearn Date: Tue, 13 Jul 2004 07:25:27 +0000 Subject: Symlinking to a file Message-Id: <200407130325.30498.mstearn@umd.edu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Is there a way to have udev automatically symlink to a file, not to a device. I'm trying to link from sdb1 to cards/compactflash. Unfortunately I have to uses the NAME{all_partitions} thing for my cardreader, so there isn't always a sdb1 file in /sys. I've got a workaround at the moment, but this seems like the best solution. Actually, IMHO the best solution would be to have an option like NAME{first_partition} since most card readers and cameras only use the first partition, but that node isn't created if the card isn't in the slot at the time the reader is initialized by the computer. Thanks for your time Mathias Stearn PS- I'm not subscribed to the list, so you might (I'm not used to mailing lists) have to cc any replies to me at mstearn@umd.edu. PPS- where do i sign up for the mailing list ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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