Mick wrote:
> On Monday 07 Jan 2013 07:35:32 Dale wrote:
>
>> I think you misunderstand or I didn't make myself clear. I'm not saying
>> it was udev that did this. I am pretty sure it was the kernel. All
>> this happened when people with older IDE drives, myself included on my
>> old machine, had to switch to the new drivers and devices. Before the
>> change, old IDE drives and CD/DVD drives were given hd* devices and udev
>> made a link to that with /dev/cdrom or dvd or whatever for optical
>> devices which is what you seem to expect now. The reason udev did that
>> was for it to be consistent which I have no problem with . When the
>> kernel folks changed this, they also changed it from /dev/cdrom and
>> /dev/dvd to /dev/sr0. From my understanding, all optical devices such
>> as CD and DVD readers/burners are supposed to be sr0. I know k3b
>> updated theirs too. I seem to recall I had to run a unstable version
>> for a bit because the older version didn't have the code to see sr*
>> devices.
>>
>> I never said anything was broke, just that it was changed. There was
>> several things that was changed at about the same time that were related
>> and this was just one of them. Another was the change from /dev/hdXX to
>> /dev/sdXX for ALL hard drives. This change happened even if you was
>> using the old IDE drives. As I understand it, /dev/hdxx is no longer
>> supported on current kernels. All hard drives are /dev/sdxx and optical
>> drives are /dev/sr0(1,2,3,4 etc).
>>
>> Also, I didn't remove anything. It was changed by the kernel which also
>> lead to udev changing what it did. Again, as much as I dislike what
>> udev is planning, I never said udev did this one. I'm pretty sure this
>> was all started with the kernel devs. The udev folks just followed along.
>>
>> The biggest thing I recall is everyone with IDE drives having to update
>> the kernel config, edit fstab and grub or lilo before rebooting. This
>> was discussed on this list and I don't recall much fuss except for
>> having to change it and update everything. It was sort of a one time
>> thing and had a long term goal. All hard drives are sdxx and optical
>> devices are srx. All this happened when I was on my old rig which was
>> at least a few years ago.
>>
>> Does that make more sense now?
>>
>> Dale
>>
>> :-) :-)
>
> I think that you are conflating two issues which are separate in terms of
> chronology at least. Years ago we moved to libata and hdX changed to sdX.
> The udev confguration was updated at the time to link /dev/cd* and
/dev/dvd*
> to srX.
>
> More recently, the udev rules nomenclature changed. The udev
persistent-cd
> rules however was not changed. I moved it, remerged stable udev and
the file
> was not recreated. So something in udev has changed and it no longer
> generates the persistent-cd rules.
>
>
> BTW, pressing the touch sensitive button on the laptop to eject the CD
won't
> work, neither will typing eject in a terminal:
>
> $ eject
> eject: tried to use `/mnt/cdrom' as device name but it is no block device
> eject: unable to find or open device for: `cdrom'
>
>
> So, eject is still looking for cdrom ...
>
> Either all commands and legacy apps should update themselves, or I better
> follow Mark's suggestion?


According to what I found, both changes were done at the same time. 
Link below is one place that I found saying both things were being
changed in the kernel at the same time.  There are others but anyway:

http://lkml.indiana.edu/hypermail/linux/kernel/0608.1/0806.html

There may have been other changes more recent in udev but if so, I
missed them since this changed for me, and according to the list others
too, years ago.  I was on my old rig so it had to be several years ago
since I have had my new rig a couple years and never had to deal with it
during the install of Gentoo on it.

I do think it's helpful for some to have a consistent link like cdrom or
dvd.  It appears someone else thinks people that find it helpful need to
add their own rule.  Either way, it can be made to work.

Just trying to provide info based on my search results.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Reply via email to