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

Re: CD-ROM mount problems



On Sat, Dec 29, 2001 at 09:10:39PM -0600, shock wrote:
> * Michael D. Schleif (mds@helices.org) spake thusly:
> > 
> > Does the required device exist?
> > 
> > 	man MAKEDEV
> > 	cd dev; ./MAKEDEV [ -n ] [ -v ] update
> 
> # ls -al /dev/cdrom
> lrwxrwxrwx    1 root root 3 Dec 29 20:53 /dev/cdrom -> sr0
> 
> # ls -al /dev/sr0
> lrwxrwxrwx    1 root root 4 Dec 13 19:32 /dev/sr0 -> scd0

Gross.  Just link /dev/cdrom to /dev/scd0
 
> # ls -al /dev/scd0
> crw-r--r--    1 root root 21, 0 Dec 13 19:54 /dev/scd0
> 
> afaik, this is correct.  right?

Nope.  Taking a look at Documentation/devices.txt in kernel sources,
char major 21 is SCSI generic.  Block major 11 is SCSI CD-ROM.  Your
/dev seems a bit messed up.

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpc4Tz7zbRNM.pgp
Description: PGP signature


Reply to: