Message Board -  Archive

[ Login ] [ Create Account ]
[ Board List ] [ View Board ] [ Post Reply ]
  Author  Subject: Re: Mounting CDROM
Archive  

Posted on 10-26-2000 07:37 p.m. ET  reply

Original Poster: Mark Krentel

> ls -l on hdc lrwxrwxrwx /dev/hdc -> cdrom

Ok, this is definitely wrong. It looks like you've created the
symlink backwards. You'll have to remake the hdc device. Here's
what they should look like:

# cd /dev
# ls -l hd[a-d]
brw-rw---- 1 root disk 3, 0 Oct 26 18:18 hda
brw-rw---- 1 root disk 3, 64 Oct 26 18:18 hdb
brw-rw---- 1 root disk 22, 0 Oct 26 18:18 hdc
brw-rw---- 1 root disk 22, 64 Oct 26 18:18 hdd

There's a script /dev/MAKEDEV that does this. Try this:

# cd /dev
# ./MAKEDEV hdc

Now for the symlink. I know it seems backwards, but you give ln the
"to" part (target) before the "from" part (link name). So, you'd make
/dev/cdrom link to hdc as:

# cd /dev
# ln -s hdc cdrom
# ls -l cdrom
lrwxrwxrwx 1 root root 3 Oct 26 19:06 cdrom -> hdc

And the symlink and the /etc/fstab entry are just a convenience. It's
useful and I recommend it, but it's not necessary. You can always use
the long form:

# mount -t iso9660 /dev/hdc /mnt/cdrom

Once you find the right device, the symlink and fstab let you use the
shorter "mount /mnt/cdrom".

--Mark

< Previous 1 Next >

Site Contents