From: Richard Fish <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: udev: lost dvd
Date: Thu, 17 Nov 2005 15:14:54 -0700 [thread overview]
Message-ID: <7573e9640511171414y63cc4e77u1ca337496674d9fb@mail.gmail.com> (raw)
In-Reply-To: <loom.20051117T214457-624@post.gmane.org>
On 11/17/05, James <wireless@tampabay.rr.com> wrote:
> Richard Fish <bigfish <at> asmallpond.org> writes:
>
> > Does /dev/hdc exist? If so, what are the permissions there? What
> > about /dev/cdrom?
> Initially:
> brw-rw---- 1 cdrom 22, 0 Nov 17 16:41 /dev/hdc
> so I change it to 777
> brwxrwxrwx 1 cdrom 22, 0 Nov 17 16:41 /dev/hdc
> but that did not fix it.
> ls -alg /dev/cdrom
> lrwxrwxrwx 1 root root 3 Nov 17 16:41 /dev/cdrom -> hdc
Rather than changing the permissions, a better plan is to add any
users that should be able to access cdrom/dvd devices to the cdrom
group.
>
> > What does "/sbin/cdrom_id /dev/hdc" report?
> ID_CDROM=1
> ID_CDROM_MRW=1
> ID_CDROM_MRW_W=1
> ID_CDROM_RAM=1
>
Ok, this is why you have no /dev/dvd device. A DVD reader should also
report ID_CDROM_DVD=1, and a burner will report ID_CDROM_DVD_R=1.
The /sbin/cdrom_id program is a part of udev, and is used by udev to
determine what symlinks to create. So as I see it, you have two
choices:
1. Try upgrading to a more recent version of udev. The current ~x86
version is 073.
2. Write a custom rule for your device, and add it to
/etc/udev/rules.d/10-local.rules. Something like this should do the
trick:
KERNEL=="hdc", NAME="%k", GROUP="cdrom", ACTION=="add",
SYMLINK+="_dvd%e", IMPORT="/sbin/cdrom_id --export $tempnode"
> Hum, /var/log/messages does not exist. Lots of specific log files
> are in /var/log
>
> Which startup script do I edit to start logging to /var/log/messages?
Actually, it depends upon what logger you have merged....I use
syslog-ng, configured so that my kernel and other logs go to
/var/log/messages. Your messages may go somewhere else...
-Richard
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-11-17 22:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-17 19:20 [gentoo-user] udev: lost dvd James
2005-11-17 20:26 ` Richard Fish
2005-11-17 21:23 ` [gentoo-user] " James
2005-11-17 22:14 ` Richard Fish [this message]
2005-11-17 22:16 ` Richard Fish
2005-11-17 22:54 ` James
2005-11-17 23:29 ` Richard Fish
2005-11-18 0:00 ` James
2005-11-18 7:29 ` Uwe Thiem
2005-11-18 8:42 ` Neil Bothwick
2005-11-18 16:19 ` James
2005-11-18 17:06 ` Neil Bothwick
2005-11-18 17:29 ` James
2005-11-18 18:09 ` Holly Bostick
2005-11-18 19:36 ` abhay
2005-11-17 23:31 ` James
2005-11-17 23:53 ` Richard Fish
2005-11-18 0:15 ` James
2005-11-18 0:41 ` Richard Fish
2005-11-18 1:31 ` James
2005-11-18 21:17 ` Nick Rout
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=7573e9640511171414y63cc4e77u1ca337496674d9fb@mail.gmail.com \
--to=bigfish@asmallpond.org \
--cc=gentoo-user@lists.gentoo.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