* [gentoo-user] fstab and cdrom question
@ 2009-12-17 18:42 Denis
2009-12-17 20:11 ` Willie Wong
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Denis @ 2009-12-17 18:42 UTC (permalink / raw
To: gentoo-user
Hello folks,
Quick question.
My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the
only device on the IDE bus, seems to be /dev/hda. That's what
Audacious declared when it was looking for a CD to play. I had CDROM
device forced to /dev/cdrom in Audacious, unwittingly, before and was
wondering why my CDs were not playing! However, my fstab is still
"/dev/cdrom /mnt/cdrom auto noauto,user
0 0" - so should I switch this to /dev/hda instead of /dev/cdrom?
If so, should some link be made to /dev/cdrom, if other programs may
be querying /dev/cdrom for the sake of Linux standard convention, or
is /dev/cdrom already a link, which was broken in my case?
Thank you,
Denis
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] fstab and cdrom question
2009-12-17 18:42 [gentoo-user] fstab and cdrom question Denis
@ 2009-12-17 20:11 ` Willie Wong
2009-12-17 20:14 ` Denis
2009-12-17 21:29 ` walt
2009-12-18 0:09 ` Nikos Chantziaras
2 siblings, 1 reply; 7+ messages in thread
From: Willie Wong @ 2009-12-17 20:11 UTC (permalink / raw
To: gentoo-user
On Thu, Dec 17, 2009 at 01:42:33PM -0500, Penguin Lover Denis squawked:
> My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the
> only device on the IDE bus, seems to be /dev/hda. That's what
> Audacious declared when it was looking for a CD to play. I had CDROM
> device forced to /dev/cdrom in Audacious, unwittingly, before and was
> wondering why my CDs were not playing! However, my fstab is still
> "/dev/cdrom /mnt/cdrom auto noauto,user
> 0 0" - so should I switch this to /dev/hda instead of /dev/cdrom?
Sure, if you like.
> If so, should some link be made to /dev/cdrom, if other programs may
> be querying /dev/cdrom for the sake of Linux standard convention, or
> is /dev/cdrom already a link, which was broken in my case?
The default udev scripts should have been able to automatically create
symlinks for optical devices in /dev. Whether yours is broken, you can
find out by trying to ls -l /dev/cdrom :)
W
--
The Short History of Medicine
2000 B.C. - Here, eat this root
1000 A.D. - That root is heathen.
Here, say this prayer.
1850 A.D. - That prayer is superstition.
Here, drink this potion.
1940 A.D. - That potion is snake oil.
Here, swallow this pill.
1985 A.D. - That pill is ineffective.
Here, take this antibiotic.
2000 A.D. - That antibiotic doesn't work any more.
Here, eat this root.
Sortir en Pantoufles: up 1105 days, 19:01
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] fstab and cdrom question
2009-12-17 20:11 ` Willie Wong
@ 2009-12-17 20:14 ` Denis
2009-12-17 23:43 ` [gentoo-user] " walt
0 siblings, 1 reply; 7+ messages in thread
From: Denis @ 2009-12-17 20:14 UTC (permalink / raw
To: gentoo-user
> The default udev scripts should have been able to automatically create
> symlinks for optical devices in /dev. Whether yours is broken, you can
> find out by trying to ls -l /dev/cdrom :)
It appears the links /dev/cdrom1 and /dev/cdrw1 are tied to /dev/hda.
Is that the default behavior instead of /dev/cdrom now?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: fstab and cdrom question
2009-12-17 18:42 [gentoo-user] fstab and cdrom question Denis
2009-12-17 20:11 ` Willie Wong
@ 2009-12-17 21:29 ` walt
2009-12-18 0:09 ` Nikos Chantziaras
2 siblings, 0 replies; 7+ messages in thread
From: walt @ 2009-12-17 21:29 UTC (permalink / raw
To: gentoo-user
On 12/17/2009 10:42 AM, Denis wrote:
> Hello folks,
>
> Quick question.
>
> My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the
> only device on the IDE bus, seems to be /dev/hda. That's what
> Audacious declared when it was looking for a CD to play. I had CDROM
> device forced to /dev/cdrom in Audacious, unwittingly, before and was
> wondering why my CDs were not playing! However, my fstab is still
> "/dev/cdrom /mnt/cdrom auto noauto,user
> 0 0" - so should I switch this to /dev/hda instead of /dev/cdrom?
> If so, should some link be made to /dev/cdrom, if other programs may
> be querying /dev/cdrom for the sake of Linux standard convention, or
> is /dev/cdrom already a link, which was broken in my case?
Take a look at /etc/udev/rules.d/70-persisten-cd.rules, which may
be pointing to the wrong hardware. Just delete that file and udev
will create it again on the next boot.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: fstab and cdrom question
2009-12-17 20:14 ` Denis
@ 2009-12-17 23:43 ` walt
0 siblings, 0 replies; 7+ messages in thread
From: walt @ 2009-12-17 23:43 UTC (permalink / raw
To: gentoo-user
On 12/17/2009 12:14 PM, Denis wrote:
>> The default udev scripts should have been able to automatically create
>> symlinks for optical devices in /dev. Whether yours is broken, you can
>> find out by trying to ls -l /dev/cdrom :)
>
> It appears the links /dev/cdrom1 and /dev/cdrw1 are tied to /dev/hda.
> Is that the default behavior instead of /dev/cdrom now?
That's what I have on my machines, except that I have /dev/cdrom instead of
cdrom1. Do you have more than one cd device? If not, you should delete
/etc/udev/rules/70-persistent-cd.rules and reboot.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: fstab and cdrom question
2009-12-17 18:42 [gentoo-user] fstab and cdrom question Denis
2009-12-17 20:11 ` Willie Wong
2009-12-17 21:29 ` walt
@ 2009-12-18 0:09 ` Nikos Chantziaras
2009-12-18 23:17 ` [gentoo-user] " Kyle Bader
2 siblings, 1 reply; 7+ messages in thread
From: Nikos Chantziaras @ 2009-12-18 0:09 UTC (permalink / raw
To: gentoo-user
On 12/17/2009 08:42 PM, Denis wrote:
> Hello folks,
>
> Quick question.
>
> My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the
> only device on the IDE bus, seems to be /dev/hda. That's what
> Audacious declared when it was looking for a CD to play. I had CDROM
> device forced to /dev/cdrom in Audacious, unwittingly, before and was
> wondering why my CDs were not playing! However, my fstab is still
> "/dev/cdrom /mnt/cdrom auto noauto,user
> 0 0" - so should I switch this to /dev/hda instead of /dev/cdrom?
> If so, should some link be made to /dev/cdrom, if other programs may
> be querying /dev/cdrom for the sake of Linux standard convention, or
> is /dev/cdrom already a link, which was broken in my case?
>
> Thank you,
> Denis
You don't need an fstab entry at all. These days, when you insert a CD,
it will get mounted automatically and appear in /media, just like USB
storage devices.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] fstab and cdrom question
2009-12-18 0:09 ` Nikos Chantziaras
@ 2009-12-18 23:17 ` Kyle Bader
0 siblings, 0 replies; 7+ messages in thread
From: Kyle Bader @ 2009-12-18 23:17 UTC (permalink / raw
To: gentoo-user
I'm on the train so its hard to check the man pages but can't you use
udevtrigger or a similar tool so rebooting isn't required?
On 12/17/09, Nikos Chantziaras <realnc@arcor.de> wrote:
> On 12/17/2009 08:42 PM, Denis wrote:
>> Hello folks,
>>
>> Quick question.
>>
>> My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the
>> only device on the IDE bus, seems to be /dev/hda. That's what
>> Audacious declared when it was looking for a CD to play. I had CDROM
>> device forced to /dev/cdrom in Audacious, unwittingly, before and was
>> wondering why my CDs were not playing! However, my fstab is still
>> "/dev/cdrom /mnt/cdrom auto noauto,user
>> 0 0" - so should I switch this to /dev/hda instead of /dev/cdrom?
>> If so, should some link be made to /dev/cdrom, if other programs may
>> be querying /dev/cdrom for the sake of Linux standard convention, or
>> is /dev/cdrom already a link, which was broken in my case?
>>
>> Thank you,
>> Denis
>
> You don't need an fstab entry at all. These days, when you insert a CD,
> it will get mounted automatically and appear in /media, just like USB
> storage devices.
>
>
>
--
Sent from my mobile device
Kyle
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-12-18 23:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 18:42 [gentoo-user] fstab and cdrom question Denis
2009-12-17 20:11 ` Willie Wong
2009-12-17 20:14 ` Denis
2009-12-17 23:43 ` [gentoo-user] " walt
2009-12-17 21:29 ` walt
2009-12-18 0:09 ` Nikos Chantziaras
2009-12-18 23:17 ` [gentoo-user] " Kyle Bader
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox