From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 29 Jun 2004 06:15:29 +0000 Subject: Re: Questions concerning udev and removeable media, dvd and links Message-Id: <20040629061529.GB2066@kroah.com> List-Id: References: <20040629060122.GH14667@gamma.logic.tuwien.ac.at> In-Reply-To: <20040629060122.GH14667@gamma.logic.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Jun 29, 2004 at 08:01:22AM +0200, Norbert Preining wrote: > Hi dear hotplug developers! > > I have several removeable disks (SD card reader, CF card reader, etc), > but udev/hotplug only generates the base device file name (/dev/sda etc) > and *not* the partition device nodes (/dev/sda1) because at boot time > the partition table is not available. > > Now, having /dev/sda1 for /mnt/sd in /etc/fstab will not work. > > Thus, is it possible to do some changes that the partition devnodes are > *always* also created for these kinds of disks, or all? Yes, look at the section in the udev manpage that talks about NAME{all_partitions}. > ------------ > > Next question: The /dev/dvd link: > I have two CDROMS: The first, hdc, is a DVD, the second, hdd, is a > plextor cd writer. > > Now interestingly I get > /dev/cdrom -> hdd > and *no* > /dev/dvd > This is strange because what I see in /etc/udev/cdsymlinks.sh looks like > a dvd node *should* be created. What distro are you using that added such a .sh file? I don't see it in the main udev release. > > ----------- > > Last question: What is the suggested place to add links I want to have? > > I would like to have a link > /dev/pilot -> /dev/ttyUSB1 > ttyUSB1 is only generated when I press the HotSync button on the palm, > but I want /dev/pilot to point to it. > > Where should I configure this. Add a symlink for ttyUSB1 with a rule like: KERNEL="ttyUSB1", SYMLINK="pilot" > ---------------------------- > > Finally, some info: > debian/sid uptodate Ah, go bug the debian maintainer of the udev package about that cdsymlinks.sh script :) hope this helps, greg k-h ------------------------------------------------------- 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