LinuxQuestions.org
Review your favorite Linux distribution.
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 11-19-2011, 09:38 PM   #1
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Rep: Reputation: Disabled
What's Mounting?


Well, what is it? Does windows do this but just hides it from me? Google didn't give me much understandable results...
Thanks.
 
Old 11-19-2011, 09:40 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You need to mount a storage device so that it's usable by the system. All operating systems have their own version of mounting drives, it just isn't always obvious.
 
Old 11-19-2011, 09:48 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
Mounting is the act of making an existing disk available to the OS.

I have read that the term stems from the act of "mounting" a spool of tape on a mainframe tape drive back in the tape days, when the spool of tape had to physically lifted into place and threaded through the tape heads.

Windows doesn't hide it so much as do it automatically for any disk that Windows can read. (If it weren't so late, I would take my ext3 formated USB drive from my Slackbox and plug it into my Windows computer just for grins and giggles; I might try that tomorrow to see what happens. If I do, I shall report back.)

This link might help: http://kb.iu.edu/data/anqk.html
 
Old 11-19-2011, 10:20 PM   #4
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Original Poster
Rep: Reputation: Disabled
Is mounting the kernel's job or the distro's job? EX is the pice of mounting code in the Linux kernel or, for example, Ubuntu's everything else.
 
Old 11-20-2011, 06:34 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Zssfssz View Post
Is mounting the kernel's job or the distro's job? EX is the pice of mounting code in the Linux kernel or, for example, Ubuntu's everything else.
It's part of the kernel.

Drives in *nix are represented as files containing the raw bytes on the disk. When you "mount" one of these files to a directory, the OS checks that the file contains a filesystem and makes the contents of the directory mirror the contents of the filesystem contained in the file.
 
Old 11-20-2011, 08:53 AM   #6
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
Non Tcchnical explaination that will not contradict any other understandings

Mounting a file-system makes it possible for your O.S to address locations that where not previously considered it's own. Hardware as in a CD/DVD drive are given addresses to be able to communicate with them. Think of un-mounted file-systems as remote sections of your hardware that are not always accessible and are only un-accessible because the software does not allow it. The Mount Command is sort of a data traffic enforcer. Mounting is basically running code that makes it possible for your O.S to retrieve data from these addresses.

Don't intuitively assume that mounting is a physical/hardware type of thing which the term "mount" real definition means. If the O.S configures some files that now include a isolated address location and now the CPU can put these addresses on the adddress bus ,this area of memory has now been mounted and you can access data from them/it.

This definition is not perfect and took five minutes to write but will give you the overlook to understand it.

Last edited by theKbStockpiler; 11-20-2011 at 09:19 AM.
 
Old 11-20-2011, 09:19 AM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by theKbStockpiler View Post
Think of un-mounted file-systems as remote sections of your hardware that are not always accessible and are only un-accessible because the software does not allow it. The Mount Command is sort of a data traffic enforcer. Mounting is basically running code that makes it possible for your O.S to retrieve data from these addresses.
The software doesn't "not allow" it, and the mount command isn't some kind of "enforcer" that keeps data going where it shouldn't. That definition is wrong and confusing, in my opinion.

Mounting simply tells the OS that it should treat a file's contents as a filesystem, and mirror that filesystem's contents in a directory (this directory is called the "mount point"). Adding and removing files from the mount point adds and removes files from the filesystem, and modifying files under the mount point causes the files in the filesystem to be modified.
 
Old 11-20-2011, 09:52 AM   #8
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Mount is a Linux command
Linux Commands are defined with usage detail in the Linux Wiki here on LQ.Org
You can pull up the Linux Wiki in the Main menu at the top right of this page
Then click Commands in the center of the page
Scroll down to Mount and read the description
Click on the hyperlink for usage details
 
0 members found this post helpful.
  


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
mounting digital camera, mounting in general? lugoteehalt Linux - Hardware 6 08-29-2006 12:52 PM
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 07:34 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 11:00 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

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

All times are GMT -5. The time now is 07:41 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
Open Source Consulting | Domain Registration