On Tuesday 04 January 2011 14:27:44 [email protected] wrote:
> On 04 January 2011 at 13:34 Ralph Corderoy <[email protected]> wrote:
> > Does
> >
> >     ls -l /dev/disk/*
> >
> > show anything interesting if the CD is in the drive?  Perhaps the CD can
> > have a label or UUID.  You should at least see the CD drive in by-id
> > although that won't be useful as part numbers change. 
>
> That comes back with 'No such file or directory'.  However:
>  
>    ls -l /dev/cdrom*
>  
> on this machine comes back with:
>  
>   lrwxrwxrwx   1  root  root     8 Jan  4 12:33  /dev/cdrom -> /dev/hdc
>  
> Which at least tells me the device that is available here, but there is no
> difference when I put a disc in the hole.   I also tried the technique on a
> machine with two DVD drives, but this was quite confusing because it
> indicated that the cdrom was hdd, but the TC Mount Tool thought that the CD
> was in hdc! 
> The TC Mount Tool may well give sufficient clues though because it seems to
> be able to work out what drives the machine has and also the volume names
> of each disc in each drive.  Maybe the source code for this will let us
> into the secret.
>
> Terry Coles
> --
> Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2011-01-11 20:00
> Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
> How to Report Bugs Effectively:  http://goo.gl/4Xue

OK I got this off the net, but could you not ask it for the volume label?? here 
the command I found

/dev/cdrom /mnt/cdrom iso9660 user,exec,dev,ro,noauto 0 0

Tim

--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2011-01-11 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to