Originally posted by: Jeff7
Might I ask what the point of mounting and unmounting drives is then? Sounds like little more than extra steps.
It's what you do with all drives. Harddrive partitions, cdroms, floppies, network shares. It's all the same. You mount the drive to a directory, then you use it, when you want to stop using it you un-mount it and then the OS knows finish all I/O with that drive and not use it anymore.
All OS's basicly work that way. Stuff like Microsoft just hides it away and sometimes it causes problems. All it is is you telling the OS that you want to use this paticular file system and were to put it in your directory tree.
There are no C: or A: drives in Linux. Everything is part of the directory system.
It allows you to do handy stuff. For instance I have a seperate partition for my /boot directory and that partition is mounted at /boot. In the boot directory is stored the boot loader configuration file as well as initrd and kernel images. I have it mounted read-only normally so that I don't have to worry about power outages or other accidents from corrupting anything in that directory. When I need to write to it I simply remount it read-write then make the changes I want.
With a modern Linux GUI the OS will set it up so that when you stick a cdrom into the drive it will autodetect it, mount it, and put a little icon on your desktop. Or if it's audio disk then it will play it or if it's dvd movie it will allow you to watch it if you have the semi-illegal software (thank you US law) that is required to simply view dvd movies in Linux.
The same thing would work for floppies except that in PC-land we use very obsolete versions of floppy drives that don't have the ability to tell the OS when you insert the drive. Also it lacks the ability to disable the eject button when the disk is in use.