CINXE.COM
The /mnt directory definition by The Linux Information Project
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns= "http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="belug1.css" /> <title>The /mnt directory definition by The Linux Information Project</title></head> <body bgcolor="#ffffff"> <a href="index.html">LINFO</a> <br /><center><h1>The /mnt Directory</h1></center><br /> <table width="100%"><tbody><tr><td width="10%"></td><td width="80%"> <br /> <p> The <i>/mnt</i> directory and its subdirectories are intended for use as the temporary <i>mount points</i> for <i>mounting</i> <a href="storage.html">storage</a> devices, such as CDROMs, floppy disks and USB (universal serial bus) key drives. /mnt is a standard subdirectory of the <a href="root_directory.html"><i>root directory</i></a> on <a href="linuxdef.html">Linux</a> and other <a href="unix-like.html">Unix-like</a> <a href="operating_systems_list.html">operating systems</a>, along with directories such as <a href="bin.html"><i>/bin</i></a>, <i>/boot</i>, <i>/dev</i>, <i>/etc</i>, <a href="home.html"><i>/home</i></a>, <i>/proc</i>, <a href="slash_root.html"><i>/root</i></a>, <a href="sbin.html"><i>/sbin</i></a>, <i>/usr</i> and <i>/var</i>. As is the case with all other first tier directories in the root directory, /mnt's name always begins with a forward slash. </p> <p> Mounting is the process of attaching an additional <a href="filesystem.html"><i>filesystem</i></a>, which resides on a CDROM, hard disk drive (HDD) or other storage device, to the <i>currently accessible filesystem</i> of a computer. <i>Filesystem</i> in this context refers to the hierarchy of directories (also referred to as the <a href="directory_tree.html"><i>directory tree</i></a>) that is used to organize files on a computer. On 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 is currently in use in the computer. </p> <p> The <i>mount point</i> is the directory in the currently accessible filesystem (typically an empty directory) to which the additional filesystem is attached (i.e., mounted). It becomes the root directory of the subtree from the newly added storage device, and that subtree becomes accessible from that directory. Any original contents of the mount point become invisible and inaccessible until the filesystem is <i>unmounted</i> (i.e., detached from the main filesystem). </p> <p> /mnt can be empty, or it can contain subdirectories for mounting individual devices. Its subdirectories on a typical system include <i>/mnt/cdrom</i> and <i>/mnt/floppy</i>; other subdirectories can be created as desired. </p> <p> Although /mnt exists specifically for mounting storage devices, other directories can also be used for this purpose. Major filesystems on non-root <i>partitions</i> (i.e., logically independent sections) of the hard disk drive (HDD) are typically mounted in the root directory, but they can likewise be mounted in other directories, including those created by a user for the purpose. </p> <p><br /></p> <p><br /></p> <p><br /></p> <p><br /></p> <p><br /></p> <p class="copy">Created February 13, 2006.<br /> Copyright © 2006 The Linux Information Project. All Rights Reserved.</p> </td><td width="10%"></td></tr></tbody></table> </body></html>