LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-14-2020, 12:07 PM   #1
gioo
LQ Newbie
 
Registered: May 2020
Posts: 4

Rep: Reputation: Disabled
Question Mounting file systems


Hello,

Im very new to Linux and today I decided to open an old photos cd-rom on my laptop. To do that, I learned about file systems and that I had to mount the cd-rom before I could open it's photos. I did it and it worked all well, and then I unmounted it so I could use a different cd. The problem is that everytime I insert a new cd it is automatically mounted, which I cannot understand why. Wasn't I supposed to mount it again every time I change the cdrom in the driver? I mean, that's what I learned. I already checked the fstab file to see if it was set to mount automatically but it's not.
 
Old 05-14-2020, 12:11 PM   #2
a1ntsk33r3d
LQ Newbie
 
Registered: Mar 2004
Location: NC
Distribution: Ubuntu 20.04
Posts: 19

Rep: Reputation: 3
Glad you're learning Linux! In most modern distributions, you do not have to manually mount a CD or DVD that you insert. In fact, I'm surprised you had to do it that first time?
 
1 members found this post helpful.
Old 05-14-2020, 12:12 PM   #3
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
What version of Linux (distro) are you running and what desktop? Some of the desktop environments mount removable drives automatically.
 
2 members found this post helpful.
Old 05-14-2020, 12:41 PM   #4
gioo
LQ Newbie
 
Registered: May 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
Smile

Thank you for the very fast replies!

Yes, in the first time when I pluged the cd-rom driver on my laptop I couldn't see its cd content available, so I had to mount it to be able to see it (I dont't know if it has something to do with the fact that this is a usb cd-rom driver because my laptop doesn't have one as most modern ones). But after mounting it for the first time, the process was automatic. I just had to unmount the current cd, put another one back in the driver and then it was automatically mounted with the cd contents available.
 
Old 05-14-2020, 12:42 PM   #5
gioo
LQ Newbie
 
Registered: May 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
Smile

I use Debian 10
 
Old 05-28-2020, 10:49 PM   #6
crajor
Member
 
Registered: Mar 2019
Location: Akron, Ohio
Distribution: PCLinuxOS 2020
Posts: 88
Blog Entries: 4

Rep: Reputation: Disabled
USB CD ROM

Once you plug in the USB CD ROM drive, the command
Code:
lsusb
will tell the name of the device that has just been plugged in. Your need to mount before seeing the first compact disc is necessary due to the system having to deal with the new USB device. Once the drive(-r) is actually mounted, the behavior will be the same as any other CD ROM. That is how it is no longer necessary to remount for each disc you would place in the drive. Mount works with the file /etc/fstab. USB devices should not be listed in this file as these devices are removable and the system cannot know if the device is plugged in at startup or not. Hope this helps.

Last edited by crajor; 05-28-2020 at 10:51 PM. Reason: typo
 
1 members found this post helpful.
Old 05-31-2020, 09:22 AM   #7
gioo
LQ Newbie
 
Registered: May 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
It helps a lot! Thank you very much! Just one more thing: why once I mounted it I don't have to mount it again EVEN if I use the umount command?
 
  


Reply



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
Read only file systems, custom live CDs, and embedded systems coffeecoffee Linux - Newbie 2 02-24-2009 11:09 PM
Mounting NTFS File Systems quorn Linux - General 7 10-09-2003 02:56 PM
mounting two file systems to one point sophie Linux - Hardware 4 07-01-2003 12:47 PM
mounting parttions, other drive,and file systems dkc_ace Linux - General 3 01-06-2003 09:45 PM
mounting file systems philfighter Linux - General 5 08-20-2001 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 PM.

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
Open Source Consulting | Domain Registration