[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unique identifiers for cdrom drives



On Sat, 14 May 2011 09:58:27 -0600, Paul E Condon wrote:

> My Squeeze installs on machines that have two cdrom drives seem to boot
> sometimes with the upper drive as /media/cdrom0 and lower drive as
> /media/cdrom2, and other times with the identities reversed. I'm sure
> there must be a way to fix on one assignment and keep with it, but how?
> 
> There is nothing about cdrom drives in /etc/fstab. I suppose that
> something added there will fix the problem, but what?

I'm sure you already know the answer... udev? :-)

> I've googled and see reference to vol_id, but I don't have vol_id, and
> can't find it, or even a man page.

There is a file located at "/etc/udev/rules.d/70-persistent-cd.rules" that 
can be manually edited to make static names for the optical devices (or 
so it seems), maybe you can do something there.

Greetings,

-- 
Camaleón


Reply to: