Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

mount

Posted on 2000-04-06
5
Medium Priority
?
415 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 60 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

916 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