Re: /dev/cdrom is not a valid block device.

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

 



On Tue, Aug 17, 2004 at 03:53:02PM +1000, Geoff Hacker wrote:
> Hi all,
> 
> I have upgraded from FC1 to FC2. Now I cannot access my CD-ROM drive.
> When I type 'mount /mnt/cdrom', it says '/dev/cdrom is not a valid
> block device.'
> 
> My investigations so far have included the following:
> 
> 2. 'cat /etc/fstab | awk /cdrom/' produces:
> 
> /dev/cdrom /mnt/cdrom udf, iso9660 noauto, owner, kudzu, ro 0 0 

This line has too many fields.  'man fstab' says there must be 6; 
you have 9.  It should be thus:

  /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 


But you used awk, not grep, to extract the line.  Why?
Awk might (but doesn't in this case) introduce confusion.
Grep is simpler and more precise in this instance, eg

	grep cdrom /etc/fstab 

> 
> I have run out of things to try. Anyone else have any suggestions?

-- 
	David A. De Graaf    DATIX, Inc.    Hendersonville, NC
	dad@xxxxxxxxxxxx    (828) 696-8646;  fax (828) 694-1037



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux