What does it mean to mount something?

I hear and read the term all the time, but what does it mean?

I just accidentally mounted a shared folder hosted on a remote computer. The only difference I see is the presence of a desktop shortcut. I was able to access the folder before I mounted it with no problems.

So What does it mean to mount something?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

When you ‘mount’ something you are placing access to the file system contained within onto your root file system structure. Effectively giving the files a location. This is similar to the C:/D: drive labels in windows, but more flexible.

Mounting /dev/sdb1 to /mnt/disk1 places all the files and folders contained within the device standard disk B partition 1 into the directory /mnt/disk1 where you can access them.

Modern systems have ways to auto-mount drives just as windows auto-mounts drives to drive letters, but the location mounting system in Unix is much more flexible. And unmounting is obviously the removal of the access to those files/folders from that location. You can find out what file systems are mounted by running the command:

mount

Parts of ubuntu involved: mount, umount, fstab (for fixed mounts), udev, gvfs (for automatic mounting)

Solution 2

You know the drives you have in Windows? Like C:/ and D:/ and stuff. One of them is just your hard drive, and one of them is your cd drive, and if you plug in a flash drive or external hard drive, that’ll make another letter appear. Your shared folder is the same; it’s not your computer’s hard drive, it’s some other drive, somewhere else.

Now, that flash drive, and your shared folder, and all of these–they’re not on your computer the second you plug them in, or connect remotely, or whatever. They’re not in your “file system”. They have to get thrown into the mix, and your computer has to read them, and know that they’re there, and give you a way to access them. This is “mounting”–plopping the drive into your file system, where you can get to it.

In Windows, when a drive is mounted, Windows will pick another letter, and assign that letter to the drive–and then you can access it from “My Computer”. On Unix like systems such as Ubuntu, They go with the much nicer system of placing that icon on your desktop. So when you plug in your flash drive, instead of getting some stupid autorun dialog that is totally annoying and sometimes unsafe, you get a nice icon on your desktop to symbolize the piece of hardware you just stuck into your computer.

Solution 3

A physical device can be either “unmounted” or “mounted”. However, while the “unmounted” state for a physical device still appears on your desktop and still is under Places, a shared folder has a different behavior.

When you connect to a shared folder by using the “Connect to server” menu option, what Ubuntu does is it creates a sort of virtual folder. It’s not actually mounted under “/media”, but is using a special virtual network filesystem. In fact this is closer to mapping a network drive under Windows; they do not appear under your C:\ drive, but are instead given a different drive letter, which is basically just a convenient link to the folder. In Ubuntu, the listing under Places and the icon on your desktop is the same, just a convenient link. If you connect to the folder by going through Network, you’re browsing straight to the folder, just like you can in Windows.

Solution 4

You cannot access unmounted filesystems without mounting it first. filesystems and their mount-points are defined within the /etc/fstab file and you can control the mounting operation from there. The syntax of the mount command is.

mount [options] device file mount point

Linux recognizes and can mount several type of file systems ( including windows NTFS) provided you have the right filesystem driver.

Solution 5

source

What is meant by mounting a drive?
Before your computer can use any kind of storage device (such as a hard drive, CD-ROM, or network share), you or your operating system must make it accessible through the computer’s file system. This process is called mounting. You can only access files on mounted media.

Formats and mounting
Your computer stores data in specific, structured file formats written on a piece of media (such as a disk or CD-ROM). Your computer must be able to read the format on this media in order to interpret its data properly; if the computer does not recognize the format, it will return errors. Also, forcing your computer to work with corrupted or unrecognized formats will cause it to write data incorrectly, possibly rendering unrecoverable all the files stored on the media.

Mounting ensures that your computer recognizes the media’s format; if your computer cannot recognize that format, the device cannot be mounted. When media is successfully mounted, your computer incorporates the media’s file system into your local file system, and creates a mount point, a locally available link through which you access an external device. In Windows or Mac OS X, the mount point is represented by a disk or other icon; in Unix or Linux, the mount point is a directory. Most operating systems handle mounting and unmounting for you.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply