mnttab
Purpose
Provides a table of mounted file systems.
Synopsis
#include <mnttab.h>
Description
The mnttab file contains a table of devices, mounted by
the mount command. Each mnttab file entry has the fol-
lowing structure:
struct mnttab {
char mt_dev[100];
char mt_filsys[100];
short mt_ro_flg;
time_t mt_time;
};
The fields indicate the following:
mt_dev The null-padded name of the mounted special
file.
mt_filsys The null-padded name of the mounted-on direc-
tory.
mt_ro_flg This flag indicates if the file system is
mounted read only. A value other than 0 indi-
cates the file system is mounted read only.
mt_time The time the file system was mounted.
The mountab parameter, which is defined while the system
is being customized, determines the number of simultane-
ously mounted file systems and therefore the maximum
number of entries in the /etc/mnttab file. This param-
eter changes when the mountab parameter in the master
file changes.
Files
/etc/mnttab
Related Information
In this book: "filesystems," "master," and "system."
The config, mount, and umount commands in AIX Operating
System Commands Reference.