Solved

mount

Posted on 2000-04-06
5
384 Views
Last Modified: 2010-04-20
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 ?
0
Comment
Question by:ahchong
5 Comments
 
LVL 17

Expert Comment

by:psimation
ID: 2690527
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

0
 
LVL 3

Expert Comment

by:DVB
ID: 2691577
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)
0
 
LVL 3

Expert Comment

by:jyu_88
ID: 2691687
/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.
0
 
LVL 3

Expert Comment

by:jyu_88
ID: 2691715
/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.
0
 

Accepted Solution

by:
AbbasAhmed earned 15 total points
ID: 2694209
Take a look at your /proc/filesystems file using
cat /proc/filesystems
to check whether your kernel supports the iso9660 filesystem which comes on CD-ROMs. If so, try using
mount /dev/cdrom /mnt/cdrom
here "-t iso9660" option is optional.

But if you want to specify your CD-ROM drive as:

/dev/hdb      Primary IDE Slave or
/dev/hdc      Secondary IDE Master or
/dev/hdd      Seconday IDE Slave instead of /dev/cdrom you should know  that your CD-ROM drive is which one of these.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question