Link to home
Start Free TrialLog in
Avatar of ahchong
ahchong

asked on

mount

How can I define the 'mount' ?
Still got a question:
   why that sometimes I can't mount my cdrom so that I can access to my cdrom ?
Avatar of psimation
psimation
Flag of South Africa image

mount --help
man mount
the usage is typically:
mount /dev/hdc -t iso9660 /mnt/cdrom

if your cdrom is secondary master.
Primary master = hda, primary slave = hdb
Secondary master = hdc, Secondary slave = hdd
Remember, when mounting hard drives, you must also add the number of the partition, eg. /dev/hda5 -t vfat /mnt/winfiles

Avatar of DVB
DVB

Look up in your /etc/fstab file to make sure that non root users have permission to mount removable devices like CDs and floppy disks. (for the ocassional problem)
/dev/cdrom              /mnt/cdrom              iso9660 noauto,user,ro  0 0
in your /etc/fstab. The user option is to allow non-root user to mount your CD at /mnt/cdrom.
If you do things as root, you have almost all the permissions. If you act as ordinary user, you have a lot less rights to access
system resources, be that CDROM, modem, file systems, etc.
/dev/cdrom              /mnt/cdrom              iso9660 noauto,user,ro  0 0
in your /etc/fstab. The user option is to allow non-root user to mount your CD at /mnt/cdrom.
If you do things as root, you have almost all the permissions. If you act as ordinary user, you have a lot less rights to access
system resources, be that CDROM, modem, file systems, etc.
ASKER CERTIFIED SOLUTION
Avatar of AbbasAhmed
AbbasAhmed

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial