Print this page
6198 Let's EOL cachefs
   1 '\" te
   2 .\" Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.

   3 .\" Copyright 1989 AT&T
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH MNTTAB 4 "Dec 20, 2003"
   8 .SH NAME
   9 mnttab \- mounted file system table
  10 .SH DESCRIPTION
  11 .sp
  12 .LP
  13 The file \fB/etc/mnttab\fR is really a file system that provides read-only
  14 access to the table of mounted file systems for the current host.
  15 \fB/etc/mnttab\fR is read by programs using the routines described in
  16 \fBgetmntent\fR(3C). Mounting a file system adds an entry to this table.
  17 Unmounting removes an entry from this table. Remounting a file system causes
  18 the information in the mounted file system table to be updated to reflect any
  19 changes caused by the remount. The list is maintained by the kernel in order of
  20 mount time. That is, the first mounted file system is first in the list and the
  21 most recently mounted file system is last. When mounted on a mount point the
  22 file system appears as a regular file containing the current \fBmnttab\fR
  23 information.
  24 .sp
  25 .LP
  26 Each entry is a line of fields separated by TABs in the form:
  27 .sp


 202 .ne 2
 203 .na
 204 \fB\fB/etc/mnttab\fR\fR
 205 .ad
 206 .RS 28n
 207 Usual mount point for \fBmnttab\fR file system
 208 .RE
 209 
 210 .sp
 211 .ne 2
 212 .na
 213 \fB\fB/usr/include/sys/mntio.h\fR\fR
 214 .ad
 215 .RS 28n
 216 Header file that contains \fBIOCTL\fR definitions
 217 .RE
 218 
 219 .SH SEE ALSO
 220 .sp
 221 .LP
 222 \fBmkfile\fR(1M), \fBmount_cachefs\fR(1M), \fBmount_hsfs\fR(1M),
 223 \fBmount_nfs\fR(1M), \fBmount_pcfs\fR(1M), \fBmount_ufs\fR(1M),
 224 \fBmount\fR(1M), \fBioctl\fR(2), \fBread\fR(2), \fBpoll\fR(2), \fBstat\fR(2),
 225 \fBgetmntent\fR(3C)
 226 .SH WARNINGS
 227 .sp
 228 .LP
 229 The \fBmnttab\fR file system provides the previously undocumented
 230 \fBdev=\fR\fIxxx\fR option in the option string for each mounted file system.
 231 This is provided for legacy applications that might have been using the
 232 \fBdev=information\fR option.
 233 .sp
 234 .LP
 235 Using \fBdev=\fR\fIoption\fR in applications is strongly discouraged. The
 236 device number string represents a 32-bit quantity and might not contain correct
 237 information in 64-bit environments.
 238 .sp
 239 .LP
 240 Applications requiring device number information for mounted file systems
 241 should use the \fBgetextmntent\fR(3C) interface, which functions properly in
 242 either 32- or 64-bit environments.
 243 .SH NOTES
 244 .sp
   1 '\" te
   2 .\" Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
   3 .\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
   4 .\" Copyright 1989 AT&T
   5 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   6 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   7 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   8 .TH MNTTAB 4 "Sep 8, 2015"
   9 .SH NAME
  10 mnttab \- mounted file system table
  11 .SH DESCRIPTION
  12 .sp
  13 .LP
  14 The file \fB/etc/mnttab\fR is really a file system that provides read-only
  15 access to the table of mounted file systems for the current host.
  16 \fB/etc/mnttab\fR is read by programs using the routines described in
  17 \fBgetmntent\fR(3C). Mounting a file system adds an entry to this table.
  18 Unmounting removes an entry from this table. Remounting a file system causes
  19 the information in the mounted file system table to be updated to reflect any
  20 changes caused by the remount. The list is maintained by the kernel in order of
  21 mount time. That is, the first mounted file system is first in the list and the
  22 most recently mounted file system is last. When mounted on a mount point the
  23 file system appears as a regular file containing the current \fBmnttab\fR
  24 information.
  25 .sp
  26 .LP
  27 Each entry is a line of fields separated by TABs in the form:
  28 .sp


 203 .ne 2
 204 .na
 205 \fB\fB/etc/mnttab\fR\fR
 206 .ad
 207 .RS 28n
 208 Usual mount point for \fBmnttab\fR file system
 209 .RE
 210 
 211 .sp
 212 .ne 2
 213 .na
 214 \fB\fB/usr/include/sys/mntio.h\fR\fR
 215 .ad
 216 .RS 28n
 217 Header file that contains \fBIOCTL\fR definitions
 218 .RE
 219 
 220 .SH SEE ALSO
 221 .sp
 222 .LP
 223 \fBmkfile\fR(1M), \fBmount_hsfs\fR(1M), \fBmount_nfs\fR(1M),
 224 \fBmount_pcfs\fR(1M), \fBmount_ufs\fR(1M), \fBmount\fR(1M),
 225 \fBioctl\fR(2), \fBread\fR(2), \fBpoll\fR(2), \fBstat\fR(2),
 226 \fBgetmntent\fR(3C)
 227 .SH WARNINGS
 228 .sp
 229 .LP
 230 The \fBmnttab\fR file system provides the previously undocumented
 231 \fBdev=\fR\fIxxx\fR option in the option string for each mounted file system.
 232 This is provided for legacy applications that might have been using the
 233 \fBdev=information\fR option.
 234 .sp
 235 .LP
 236 Using \fBdev=\fR\fIoption\fR in applications is strongly discouraged. The
 237 device number string represents a 32-bit quantity and might not contain correct
 238 information in 64-bit environments.
 239 .sp
 240 .LP
 241 Applications requiring device number information for mounted file systems
 242 should use the \fBgetextmntent\fR(3C) interface, which functions properly in
 243 either 32- or 64-bit environments.
 244 .SH NOTES
 245 .sp