6. Enabling General Users to Mount Media

For general users to mount floppy disks and CD-ROM,you have to modify /etc/fstab file.


/dev/fd0   /mnt/floppy  ext2     user,noauto,rw 0 0
/dev/cdrom /mnt/cdrom   iso9660  user,noauto,ro 0 0

Writing the lines,general users to mount and read media by themselves.Other media operations such as editing are not possible.

If /ect/fstab is properly written,you can omit the device and file type when inputting the commands.As follows.


$ mount /mnt/floppy
$ mount /mnt/cdrom

For more information,see man.