Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #919

Re: CDROM drive by UUID in fstab

From Bit Twister <BitTwister@mouse-potato.com>
Newsgroups comp.os.linux.hardware
Subject Re: CDROM drive by UUID in fstab
Date 2011-12-21 21:49 +0000
Organization A noiseless patient Spider
Message-ID <slrnjf4l2p.b09.BitTwister@wb.home.test> (permalink)
References <877h1pwti1.fsf@engels.HistoricalMaterialism.info>

Show all headers | View raw


On Wed, 21 Dec 2011 15:37:58 -0500, Haines Brown wrote:

>   libdvdread: Can't stat /dev/dvd
>   No such file or directory

> My question is, can I or should I set up my DVDRW drive with a UUID?

I would be impressed if you could.

> Would the "AD-7240S" serve to distinguish my DVD drive? 

Depends on where you would make that decision and what you did with it where.

> Would this be likely to resolve mplayer's probem accessing the disk?

Maybe depending on how you implement your changes. You may want to read
http://www.catb.org/~esr/faqs/smart-questions.html


On my Mandriva Linux 2011.0 system, running KDE 4.6.5.

I have a cd/dvd RW (/dev/sr0) and a cd/dvd R only drive (/dev/sr1). 
Out of the box install usually sets the read only device as cdrom/dvd/... :(

Not wanting to use /dev/dvd1 or cdrom1 to get to the burner, I used/modified
/etc/udev/rules.d/70-persistent-cd.rules to create the /dev links to
the device I wanted. Result:

$ cd /dev
$ ls -al | grep sr0
lrwxrwxrwx   1 root root             3 Dec 21 15:35 cdrom -> sr0
lrwxrwxrwx   1 root root             3 Dec 21 15:35 cdrw -> sr0
lrwxrwxrwx   1 root root             3 Dec 21 15:35 dvd -> sr0
lrwxrwxrwx   1 root root             3 Dec 21 15:35 dvdrw -> sr0
brw-rw----   1 root cdrom      11,   0 Dec 21 15:35 sr0

$ ls -al | grep sr1
lrwxrwxrwx   1 root root             3 Dec 21 15:35 cdrom1 -> sr1
lrwxrwxrwx   1 root root             3 Dec 21 15:35 dvd1 -> sr1
brw-rw----   1 root cdrom      11,   1 Dec 21 15:35 sr1

I also have added my login id to the audio, disk, cdrom groups.  :-)

Back to comp.os.linux.hardware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

CDROM drive by UUID in fstab Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-21 15:37 -0500
  Re: CDROM drive by UUID in fstab Bit Twister <BitTwister@mouse-potato.com> - 2011-12-21 21:49 +0000
  Re: CDROM drive by UUID in fstab J G Miller <miller@yoyo.ORG> - 2011-12-21 23:20 +0000
  Re: CDROM drive by UUID in fstab "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2011-12-21 20:00 -0500
    Re: CDROM drive by UUID in fstab Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-22 10:54 -0500
      Re: CDROM drive by UUID in fstab J G Miller <miller@yoyo.ORG> - 2011-12-22 18:08 +0000
        Re: CDROM drive by UUID in fstab Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-22 20:03 -0500
      Re: CDROM drive by UUID in fstab Bill Marcum <bill@lat.localnet> - 2011-12-22 17:54 -0500
        Re: CDROM drive by UUID in fstab Haines Brown <haines@HistoricalMaterialism.info> - 2011-12-23 06:15 -0500
          Re: CDROM drive by UUID in fstab Bit Twister <BitTwister@mouse-potato.com> - 2011-12-23 23:31 +0000
          Re: CDROM drive by UUID in fstab "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2011-12-23 22:37 -0500

csiph-web