From: Thomas Heinz <thomasheinz@gmx.net>
To: linux-hotplug@vger.kernel.org
Subject: cdrom_id (udev) causes "No disk in drive" warning for ide devices with removable media
Date: Thu, 08 Sep 2005 12:43:29 +0000 [thread overview]
Message-ID: <200509081443.29756.thomasheinz@gmx.net> (raw)
Hi
The following gentoo rule is responsible for handling my ide zip drive
(ide-floppy driver).
BUS="ide", KERNEL="hd[a-z]", ACTION="add", IMPORT="/sbin/cdrom_id
--export $tempnode"
cdrom_id tries to open the device and the kernel outputs the message.
Debian seems to handle the issue differently with the following rule.
BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", \
PROGRAM="/etc/udev/scripts/ide-model.sh %k", RESULT="IOMEGA ZIP *", \
NAME="%k",
OPTIONS+="all_partitions"
Do you consider it the distributors' job to fix the issue or would you
rather fix cdrom_id?
Thanks for your input.
Regards,
Thomas
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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 reply other threads:[~2005-09-08 12:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-08 12:43 Thomas Heinz [this message]
2005-09-08 14:11 ` cdrom_id (udev) causes "No disk in drive" warning for ide devices with removable media Kay Sievers
2005-09-08 15:11 ` Thomas Heinz
2005-09-08 15:38 ` Thomas Heinz
2005-09-08 19:18 ` Kay Sievers
2005-09-08 21:26 ` Thomas Heinz
2005-09-09 11:17 ` Kay Sievers
2005-09-14 22:34 ` Thomas Heinz
2005-09-14 23:21 ` Kay Sievers
2005-09-15 7:51 ` Thomas Heinz
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=200509081443.29756.thomasheinz@gmx.net \
--to=thomasheinz@gmx.net \
--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).