LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2007, 01:04 PM   #1
seanh1986
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Rep: Reputation: 0
Mandriva 2006 - Automatic Mounting...


Does Mandriva 2006 automatically mount CD-ROMs? I think it does...

(If not, how could one go about mounting a CD-ROM in Mandriva 2006?)

I tried doing this,

Code:
mount /dev/cdrom /mnt/cdrom
but that gives me an error:

Quote:
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: /dev/cdrom already mounted or /mnt/cdrom busy
mount: according to mtab, /dev/hdc is already mounted on /mnt/cdrom
This implies to me there is some sort of an "automatic mount feature".

I expected it to mount to the "/tmp" directory but apparently it did not go there...

any idea where it might have gone?
 
Old 07-09-2007, 02:13 PM   #2
seanh1986
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
ok i fount this...

Quote:
< Mandriva's automount >

In Mandriva Linux you can just stick in your floppy or CD-ROM and immediately access the files on them, without mounting them first. After you're done, you can just remove them from the drive without unmounting them first. This can be done because of a tool called automount.

automount automatically mounts all the partitions and devices listed in /etc/fstab, no matter if the devices are physically there or not. This way you can access devices in Mandriva without mounting and unmounting them yourself.
But I tried to access /etc/fstab and i got error messages since, fstab is not a directory, and when i tried doing

./fstab i got "permission denied"... but I'm logged in as root.
 
Old 07-09-2007, 02:16 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
I expected it to mount to the "/tmp" directory but apparently it did not go there...
No. /tmp would not be a normal place to mount things.

Quote:
mount: according to mtab, /dev/hdc is already mounted on /mnt/cdrom
So it is probaly already automounted at /mnt/cdrom Take a look there.
Other distros automount things in /media - you could check that too.
 
Old 07-09-2007, 02:24 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
We are cross-posting.

Quote:
./fstab i got "permission denied"... but I'm logged in as root.
Do not be "logged in as root" especially when you are trying "random" commands!!

./fstab means "Execute the file in the current directory called fstab"
fstab is not an executable file, so of course you are getting "Permission Denied", even as root. It is a plain text file that describes how, and where things should be mounted.
Please, stop being root, and use your regular account before you trash your system.
See my post, above.
 
Old 07-09-2007, 03:20 PM   #5
seanh1986
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
I'm running it on a virtual machine so i'm free to mess around because if it craps out i can just recover to a previous snapshot and it's all good to go!

I'm not totally useless :P lol ... thanks for the help -- i'll try it out now and report back!
 
Old 07-09-2007, 03:42 PM   #6
seanh1986
LQ Newbie
 
Registered: Jul 2007
Posts: 11

Original Poster
Rep: Reputation: 0
thanks for your help... it was located at /mnt/cdrom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA home directory mounting problem in mandriva 2006 gokulnath Mandriva 1 09-26-2006 11:23 AM
SAMBA home directory mounting problem in mandriva 2006 gokulnath Linux - Networking 1 09-20-2006 08:49 AM
Mandriva 2006 - Greeting mail message from mandriva can't be removed JBailey742 Linux - Software 1 03-27-2006 03:55 AM


All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration