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


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

Re: CDROM drive by UUID in fstab

From Bill Marcum <bill@lat.localnet>
Newsgroups comp.os.linux.hardware
Subject Re: CDROM drive by UUID in fstab
Date 2011-12-22 17:54 -0500
Organization Hooves Across the Water, Manes Across The Sky
Message-ID <j1pcs8-dv9.ln1@lat.localnet> (permalink)
References <877h1pwti1.fsf@engels.HistoricalMaterialism.info> <op.v6u83nhwa3w0dxdave@hodgins.homeip.net> <8739ccwqif.fsf@engels.HistoricalMaterialism.info>

Show all headers | View raw


On 2011-12-22, Haines Brown <haines@HistoricalMaterialism.info> wrote:
> "David W. Hodgins" <dwhodgins@nomail.afraid.org> writes:
>
>> On Wed, 21 Dec 2011 15:37:58 -0500, Haines Brown <haines@historicalmaterialism.info> wrote:
>>
>>> My question is, can I or should I set up my DVDRW drive with a UUID?
>>
>> No.  You could setup fstab entries using uuid for filesystems stored
>> on a data disc, but not for the drive itself.
>
> Understood
>
>> Depending on which distribution and version you have, there is likely
>> a file similar in name to /etc/udev/rules.d/70-persistent-cd.rules
>> that controls which device name gets assigned to the drive.
>
> There are two stanzas there for my dvd drive, which have the lines,
> among others:
>
>   SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
>                       ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", 
>                       SYMLINK+="dvd", ENV{GENERATED}="1"
>
>   SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", 
>                       ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-0:0:1:0", 
>                       SYMLINK+="dvd5", ENV{GENERATED}="1"
>
> However, thre is no /dev/dvd.
>
>   $ ls -la /dev | grep dvd
>   lrwxrwxrwx   1 root   root           3 Dec 22 09:49 dvd5 -> sr0
>   lrwxrwxrwx   1 root   root           3 Dec 22 09:49 dvdrw5 -> sr0
>
> Perhaps removing lines associated with my dvd drive in
> 700persistent-cd.rules and rebooting will reconstruct a /dev/dvd, but if
> if that file already has a dvd line, why isn't there a /dev/dvd? 
>
Notice the difference between the two entries. Perhaps your present dvd
drive does not fit this rule:
>        ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", 


-- 
"Never believe the attribution of a quotation you find on the Internet."
(George Bernard Shaw)

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