Files
2023-06-12 09:14:09 +02:00

44 lines
1.0 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

MTAB(5) FILE FORMATS MTAB(5)
NAME
mtab - mounted file system table
SYNOPSIS
/etc/mtab
#include <mntent.h>
DESCRIPTION
mtab resides in the /etc directory, and contains a table of
filesystems currently mounted by the mount(8) command.
umount removes entries from this file.
The file contains a line of information for each mounted
filesystem, structurally identical to the contents of
/etc/fstab, described in fstab(5). There are a number of
lines of the form:
_f_s_n_a_m_e _d_i_r _t_y_p_e _o_p_t_s _f_r_e_q _p_a_s_s_n_o
for example:
/dev/xy0a / 4.2 rw,noquota 1 2
samba:/usr/packages /nfs/packages nfs ro 0 0
For now, this file contains only information about mounted
NFS file systems.
The file is accessed by programs using getmntent(3), and by
the system administrator using a text editor.
FILES
/etc/mtab
SEE ALSO
getmntent(3), fstab(5), mount(8)