Print this page
6198 Let's EOL cachefs

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man4/vfstab.4
          +++ new/usr/src/man/man4/vfstab.4
   1    1  '\" te
   2    2  .\" Copyright (c) 2001 Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" Copyright 1989 AT&T
        4 +.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
   4    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.
   5    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.
   6    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]
   7      -.TH VFSTAB 4 "Mar 2, 2007"
        8 +.TH VFSTAB 4 "Sep 8, 2015"
   8    9  .SH NAME
   9   10  vfstab \- table of file system defaults
  10   11  .SH DESCRIPTION
  11   12  .sp
  12   13  .LP
  13   14  The file \fB/etc/vfstab\fR describes defaults for each file system. The
  14   15  information is stored in a table with the following column headings:
  15   16  .sp
  16   17  .in +2
  17   18  .nf
↓ open down ↓ 117 lines elided ↑ open up ↑
 135  136  the disk identifier is to specify \fBs2\fR, which stands for the entire medium.
 136  137  
 137  138  .sp
 138  139  .LP
 139  140  For \fBpcfs\fR file systems on x86 machines, note that the disk identifier uses
 140  141  a \fBp\fR (\fBp0\fR) and a logical drive (\fBc\fR, in the \fB/win98\fR example
 141  142  above) for a \fBpcfs\fR logical drive. See \fBmount_pcfs\fR(1M) for syntax for
 142  143  \fBpcfs\fR logical drives and for \fBpcfs\fR-specific mount options.
 143  144  
 144  145  .LP
 145      -\fBExample 3 \fRCacheFS Mount
      146 +\fBExample 3 \fRLoopback File System Mount
 146  147  .sp
 147  148  .LP
 148      -Below is an example for a CacheFS file system. Because of the length of this
 149      -entry and the fact that \fBvfstab\fR entries cannot be continued to a second
 150      -line, the \fBvfstab\fR fields are presented here in a vertical format. In
 151      -re-creating such an entry in your own \fBvfstab\fR, you would enter values as
 152      -you would for any \fBvfstab\fR entry, on a single line.
 153      -
 154      -.sp
 155      -.in +2
 156      -.nf
 157      -device to mount:  svr1:/export/abc
 158      -device to fsck:  /usr/abc
 159      -mount point:  /opt/cache
 160      -FS type:  cachefs
 161      -fsck pass:  7
 162      -mount at boot:  yes
 163      -mount options:
 164      -local-access,bg,nosuid,demandconst,backfstype=nfs,cachedir=/opt/cache
 165      -.fi
 166      -.in -2
 167      -.sp
 168      -
 169      -.sp
 170      -.LP
 171      -See \fBmount_cachefs\fR(1M) for CacheFS-specific mount options.
 172      -
 173      -.LP
 174      -\fBExample 4 \fRLoopback File System Mount
 175      -.sp
 176      -.LP
 177  149  The following is an example of mounting a loopback (\fBlofs\fR) file system:
 178  150  
 179  151  .sp
 180  152  .in +2
 181  153  .nf
 182  154  /export/test - /opt/test lofs - yes -
 183  155  .fi
 184  156  .in -2
 185  157  .sp
 186  158  
 187  159  .sp
 188  160  .LP
 189  161  See \fBlofs\fR(7FS) for an overview of the loopback file system.
 190  162  
 191  163  .SH SEE ALSO
 192  164  .sp
 193  165  .LP
 194      -\fBfsck\fR(1M), \fBmount\fR(1M), \fBmount_cachefs\fR(1M), \fBmount_hsfs\fR(1M),
      166 +\fBfsck\fR(1M), \fBmount\fR(1M), \fBmount_hsfs\fR(1M),
 195  167  \fBmount_nfs\fR(1M), \fBmount_tmpfs\fR(1M), \fBmount_ufs\fR(1M),
 196  168  \fBswap\fR(1M), \fBgetvfsent\fR(3C)
 197  169  .sp
 198  170  .LP
 199  171  \fISystem Administration Guide: Basic Administration\fR
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX