From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Questions concerning udev and removeable media, dvd and links
Date: Tue, 29 Jun 2004 06:15:29 +0000 [thread overview]
Message-ID: <20040629061529.GB2066@kroah.com> (raw)
In-Reply-To: <20040629060122.GH14667@gamma.logic.tuwien.ac.at>
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
next prev parent reply other threads:[~2004-06-29 6:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-29 6:01 Questions concerning udev and removeable media, dvd and links Norbert Preining
2004-06-29 6:15 ` Greg KH [this message]
2004-06-29 6:50 ` Norbert Preining
2004-06-29 7:00 ` Greg KH
2004-06-29 7:22 ` Norbert Preining
2004-06-29 7:22 ` Norbert Preining
2004-06-29 7:24 ` Greg KH
2004-06-29 7:29 ` Norbert Preining
2004-09-29 10:17 ` Harald Hoyer
2004-09-29 23:16 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040629061529.GB2066@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).