File System Mounting in OS
File System Mounting in OS
• File System:
• It is the method used by the operating system to manage data
storage in a storage device. So, a user can access and organize the
directories and files in an efficient manner.
• Device name:
• It is a name/identifier given to a storage partition. In windows, for
example, “D:” in windows.
• Mount point:
• It is an empty directory in which we are adding the file system during
the process of mounting.
• Mounting Indifferent Operating Systems
• 1. Linux-Unix based OS
• We want to mount /dev/sdb1 to an existing directory /mnt.
• sudo mount /dev/sdb1 /mnt/mydisk
• 2.Windows OS
• In windows mounting is very easy for a user.
• When we connect the external storage devices, windows automatically
detect the file system and mount it to the drive letter.
• Drive letter may be D: or E:.
• Steps:
• Connect an external storage device to your PC.
• Windows detects the file system on the drive (e.g., FAT32 or NTFS) and
assigns it a drive letter, such as “E:”.
• You can access the derive by going through, THIS PC –> FILE EXPLORER –
>”E:” drive
• Access the data.
• 3. Mac OS
• In Mac OS when we connect an external storage it will automatically mount, and
it will be accessible via Finder.
• As an advanced mounting method user can also use the command diskutil in
Terminal.
• Method 1:
• Steps:
• Connect an external storage device to your MAC.
• MS OS detects the file system and automatically mount it.
• You can access the drive by opening Finder, and it will appear in the sidebar.
• Method 2(Using diskutil):
• To mount a drive with a known identifier: disk2s1