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

Re: fstab labels



On Sun, May 16, 2010 at 03:33:48PM -0500, Seb wrote:
> On Sun, 16 May 2010 22:02:47 +0200,
> Michael <codejodler@gmx.ch> wrote:
> 
> > Hi Seb, Try setting /dev/cdrom instead of LABEL.
> 
> > Usually you have such a link in /dev, pointing to the real device (as
> > configured by udev).
> 
> > If you need to check things out then try this, in a root terminal:
> 
> > dmesg | grep CD-ROM
> 
> > You will get a line like, for example
> 
> >     2.042890] sr 6:0:0:0: Attached scsi CD-ROM sr0
> 
> > where sr0 is the 'real' kernel device name. You can also use /dev/dvd
> > or anything else set up by udev to be an alias for that drive.
> 
> > I doubt that labels work on exchangeable media since to my
> > understanding the labels are on the filesystem, not on the drive
> > hardware, and that would change with every other media inserted.
> 
> That's right, I forgot about that fact being used to dealing with hard
> drives for most of the time where the label almost never changes.
> Keeping the previous /dev/cdrom was the way to go.  Thanks.

Would labels help if you wanted it to recognise specific CD's when you 
put them in the drive?

-- hendrik


Reply to: