Solved

mount

Posted on 2000-04-06
5
378 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux ssh 4 59
AWS - HAProxy- KeepAlived 5 19
Install Predefined Certificate on Ubunto 4 21
add some character at the end of line in vi 7 64
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now