Quote:
Originally Posted by virendra
first of all u have to get the diver of your CD or DVD
[root@viren ~]# eject -n
eject: device is `/dev/hdc'
the device driver is /dev/hdc
now mount the cdrom
#mount /dev/hdc /mnt/cdrom
create this directory cdrom if in case it doesn't exist
and in case u want to use this command as a shortcut
#mount /mnt/cdrom
then
#ln -s /dev/hdc /mnt/cdrom
Happy Mounting
|
joe@desktop# cat >> /etc/fstab << EOF
/dev/cdrom-device /dest/mount/point iso9660 0 0 # AutoUpdate
EOF
joe@desktop# mount -v /dev/cdrom-device
joe@desktop# cd /dest/mount/point/interesting-things
..
snip
..
joe@desktop# eject -v /dev/cdrom-device && mount -v /dev/cdrom-device && echo $?
:-d
man -k fstab