*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> mnttab (4)              
Title
Content
Arch
Section
 

Contents


 mnttab(4)                                                         mnttab(4)




 NAME    [Toc]    [Back]
      mnttab - mounted file system table

 SYNOPSIS    [Toc]    [Back]
      #include <mntent.h>

 DESCRIPTION    [Toc]    [Back]
      mnttab resides in directory /etc and contains a table of devices
      mounted by the mount command (see mount(1M)).  The file contains a
      line of information for each mounted filesystem which is structurally
      identical to the contents of /etc/fstab described by fstab(4).

      There are a number of lines of the form:

           special_file_name   dir   type   opts   freq   passno   mount_time

      consisting of entries similar to:

           /dev/dsk/c0d0s0  /  hfs  rw  0  1  537851723

      /etc/mnttab is accessed by programs that use getmntent() (see
      getmntent(3X)), It should never be manually edited, nor should setmnt
      ever be used to create invalid entries in /etc/mnttab (see
      setmnt(1M)).

      mount_time contains the time the file system was mounted using mount.
      Its value is the number of seconds since the Epoch (00:00:00
      Coordinated Universal Time, January 1, 1970 (see time(2).

      mount and umount update the mnttab file whenever a file system is
      mounted or unmounted.  syncer rewrites the mnttab file if it is out of
      date with the mounted file system table maintained internally by the
      HP-UX kernel, (see syncer(1M)).

 WARNINGS    [Toc]    [Back]
      The table is provided only as a means for programs to return
      information about mounted file systems.

      /etc/mnttab should never be manually edited.  Any manual changes made
      to /etc/mnttab are overwritten without warning by syncer, mount, and
      umount.

 AUTHOR    [Toc]    [Back]
      mnttab was developed by the University of California, Berkeley, Sun
      Microsystems, Inc., and HP.

 FILES    [Toc]    [Back]
      /etc/mnttab

 SEE ALSO    [Toc]    [Back]
      mount(1M), getmntent(3X), fstab(4).


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
pfs_fstab HP-UX static file system mounting table, mounted file systems table
rmtab IRIX remotely mounted file system table
mountdtab Tru64 Table of local file systems mounted by remote NFS clients
fsctl IRIX operations on a mounted file system
ustat HP-UX get mounted file system statistics
mtab IRIX mounted filesystem table
vfs_mountedon FreeBSD check if the vnode belongs to a mounted file system
mklost+found Linux create a lost+found directory on a mounted Linux second extended file system
setmnt HP-UX establish the file-system mount table, /etc/mnttab
tunefstab HP-UX VxFS file system tuning parameters table
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service