Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If there is a partition. e.g /dev/sda1 is there a command that I can use to display all mount points on this particular partition. Any tip would be nice.
A mount point is just a directory until it is used. If you want to know what mount points are in use, the 'mount' command with no parameters will display them.
In Unix-like systems, the mount point is the location in the operating system's directory structure where a mounted file system appears. For example, many modern Linux distributions automatically mount the CD drive as /media/cdrom, so the contents of the CD drive will appear in the /media/cdrom directory.
Normally only the root user can mount a new file system usually using the mount utility, but there are often provisions to allow normal users to mount removable media, such as the pmount package.
Microsoft Windows
The equivalent to mounting in Microsoft Windows is known as mapping a drive. In these systems, all files and directories available to the operating system and its users are to be found relative to the root directory (\), whether those directories are on the same machine or not.
Microsoft's NTFS 3 also supports Volume Mount Points through the use of NTFS reparse points, which allows volumes to be mounted at arbitrary locations in the file system in addition to the standard drive letters (e.g. C:, E.
Quote:
excerpt from Mounting Definition;
Mounting is the attaching of an additional filesystem to the currently accessible filesystem of a computer.
A filesystem is a hierarchy of directories (also referred to as a directory tree) that is used to organize files on a computer or storage media (e.g., a CDROM or floppy disk). On computers running Linux or other Unix-like operating systems, the directories start with the root directory, which is the directory that contains all other directories and files on the system and which is designated by a forward slash ( / ). The currently accessible filesystem is the filesystem that can be accessed on a computer at a given time.
In order to gain access to files on a storage device, the user must first inform the operating system where in the directory tree to mount the device. A device in a mounting context can be a partition (i.e., a logically independent section) on a hard disk drive (HDD), a CDROM, a floppy disk, a USB (universal serial bus) key drive, a tape drive, or any other external media. For example, to access the files on a CDROM, the user must inform the system to make the filesystem on the CDROM appear in some directory, typically /mnt/cdrom (which exists for this very purpose).
The mount point is the directory (usually an empty one) in the currently accessible filesystem to which a additional filesystem is mounted. It becomes the root directory of the added directory tree, and that tree becomes accessible from the directory to which it is mounted (i.e., its mount point). Any original contents of a directory that is used as a mount point become invisible and inaccessible while the filesystem is still mounted.
@onebuck, the concept of 'folder' is used in Mac as well and in *nix everything is a file. Of course, mount points are directories, but I was explaining to a M$ user.
@onebuck, the concept of 'folder' is used in Mac as well and in *nix everything is a file. Of course, mount points are directories, but I was explaining to a M$ user.
Then use the proper definitions and separate the OS from each other.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.