System information

Older USB flash drives often use the FAT file system. Assuming that such drive uses the
/d ev/sd c1 device and that the /med i a/fl ashd isk/ directory exists, mount it to this directory
by typing the following at a shell prompt as ro o t:
~]# mo unt -t vfat /d ev/sd c1 /med i a/fl ashd i sk
18.2.2. Specifying t he Mount Opt ions
To specify additional mount options, use the command in the following form:
mo unt -o options device directory
When supplying multiple options, do not insert a space after a comma, or mo unt will incorrectly
interpret the values following spaces as additional parameters.
Table 18.2, “ Common Mount Options provides a list of common mount options. For a complete list
of all available options, consult the relevant manual page as referred to in Section 18.4.1, “ Manual
Page Documentation .
T able 18.2. C o mmo n Mo u n t O p t io n s
O p t io n Descrip t io n
async Allows the asynchronous input/output operations on the file system.
auto Allows the file system to be mounted automatically using the mo unt -a
command.
d efaul ts Provides an alias for async,auto ,d ev,exec,no user,rw,sui d .
exec Allows the execution of binary files on the particular file system.
l o o p Mounts an image as a loop device.
no auto D efault behavior disallows the automatic mount of the file system using the
mo unt -a command.
no exec Disallows the execution of binary files on the particular file system.
no user Disallows an ordinary user (that is, other than ro o t) to mount and unmount
the file system.
remo unt Remounts the file system in case it is already mounted.
ro Mounts the file system for reading only.
rw Mounts the file system for both reading and writing.
user Allows an ordinary user (that is, other than ro o t) to mount and unmount the
file system.
See Example 18.3, “ Mounting an ISO Image” for an example usage.
Examp le 18.3. Mo u n t in g an ISO Imag e
An ISO image (or a disk image in general) can be mounted by using the loop device. Assuming
that the ISO image of the Fedora 14 installation disc is present in the current working directory and
that the /med i a/cd ro m/ directory exists, mount the image to this directory by running the
following command as ro o t:
~]# mo unt -o ro ,l o o p Fed o ra-14 -x86 _6 4 -Li ve-D eskto p. i so /med i a/cd ro m
Note that ISO 9660 is by design a read-only file system.
Red Hat Ent erprise Lin ux 6 St orage Admin ist rat io n G uide
136