Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

/etc/mnttab - table of the mounted file systems

&pagelevel(4)&pagelevel

The /etc/mnttab file contains details of all the file systems mounted on the local computer. This file contains information which is generated by the mount command.

Each line contains the following information, which is separated by an arbitrary number of blanks and/or tabulators:

Format

resourcemountpfstypespec-optionstime

resource

Absolute path name of the mounted file system or, in the case of bs2fs file systems, mounted BS2000 files in wildcard syntax.

For bs2fs file systems the entry differs from the specification in the mount command as follows:

      • It is converted completely into uppercase notation

      • Characters to be escaped are displayed without the associated escape character

Example:

mount –F bs2fs –o ftyp=text :v70a:\$bach.sys\* /home/bach/bs2.1

generates the following entry in /etc/mnttab:

:V70A:$BACH.SYS* /home/bach/bs2.1 bs2fs ftyp=text ...

mountp

Absolute path name of the mount point.

fstype

File system type.

spec-options

Options as specified in the mount command.

time

Mount time, specified in seconds since 1/1/1970


Entries in the /etc/mnttab file are deleted again if the umount or umountall command is executed for corresponding file systems or file system types.

Example

Enter the following in the POSIX shell: cat /etc/mnttab

/dev/root            /                   ufs    rw,suid                        1196069614
/proc                /proc               proc   rw                             1196069614
/dev/fd              /dev/fd             fdfs   rw                             1196069614
/dev/dsk/3           /var                ufs    suid,rw,noquota                1196069614
/dev/dsk/4           /home/froede        ufs    suid,rw,noquota                1196069615
/dev/dsk/10          /home/gast          ufs    suid,rw,noquota                1196069615
/dev/dsk/5           /home/bach          ufs    suid,rw,noquota                1196069621
/dev/dsk/2           /home/bach/mount99  ufs    suid,rw,noquota                1196069621
/dev/dsk/23          /bs2fscont          ufs    bs2fscontainer,suid,rw,noquota 1196070061
:V70A:$BACH.ASS.*.S  /home/bach/bs2.1    bs2fs  ftyp=binary                    1196084245
:V70A:$BACH.CCC.*.C  /home/bs2.2         bs2fs  ftyp=text                      1196084250
:V70A:$BACH.PLAMLIB* /home/bach/bs2.2    bs2fs  ftyp=textbin                   1196084255
:V70A:$BACH.SEM*.C   /home/bs2000        bs2fs  ftyp=text                      1196084261