From: Greg KH <greg@kroah.com>
To: Roeland Moors <roelandmoors@telenet.be>
Cc: linux-kernel@vger.kernel.org
Subject: Re: udev removable media
Date: Fri, 3 Sep 2004 13:41:28 +0200 [thread overview]
Message-ID: <20040903114128.GA13192@kroah.com> (raw)
In-Reply-To: <20040903112833.GA3584@laptop>
On Fri, Sep 03, 2004 at 01:28:33PM +0200, Roeland Moors wrote:
> I have an USB zip drive in combination with udev.
>
> When I connect the drive with a disk inserted, everything works
> fine. Here is the udev rule:
> BUS="usb", SYSFS{product}="USB Zip 750", KERNEL="sd?1",
> NAME="%k", SYMLINK="zip"
>
> When connecting the drive without a disk the symlink is not
> created. This is ok, beceause there is no disk.
>
> But if I now insert a disk, there is still no symlink?
That's because we don't get a "media inserted" event, sorry.
> I've search a bit on google and if I understand correctly the
> main problem is the SCSI protocol.
>
> Is there a solution to this problem?
You can use the "all_partitions" solution in udev to always create the
partition device nodes. See the udev manpage for more information.
thanks,
greg k-h
prev parent reply other threads:[~2004-09-03 11:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-03 11:28 udev removable media Roeland Moors
2004-09-03 11:41 ` Greg KH [this message]
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=20040903114128.GA13192@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=roelandmoors@telenet.be \
/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 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.