1 '\" te
   2 .\" Copyright (c) 2002, Sun Microsystems, Inc.  All Rights Reserved
   3 .\" 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.
   4 .\" 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.
   5 .\" 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]
   6 .TH FSCK_CACHEFS 1M "Oct 9, 2002"
   7 .SH NAME
   8 fsck_cachefs \- check integrity of data cached with CacheFS
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fBfsck\fR \fB-F\fR cachefs [\fB-m\fR] [\fB-o\fR noclean] \fIcache_directory\fR
  13 .fi
  14 
  15 .SH DESCRIPTION
  16 .sp
  17 .LP
  18 The CacheFS version of the \fBfsck\fR command checks the integrity of a cache
  19 directory.This utility corrects any CacheFS problems it finds by default. There
  20 is no interactive mode. The most likely invocation of \fBfsck\fR for CacheFS
  21 file systems is at boot time from an entry in the \fB/etc/vfstab\fR file. See
  22 \fBvfstab\fR(4).
  23 .SH OPTIONS
  24 .sp
  25 .LP
  26 The following options are supported:
  27 .sp
  28 .ne 2
  29 .na
  30 \fB\fB-m\fR\fR
  31 .ad
  32 .RS 14n
  33 Check, but do not repair.
  34 .RE
  35 
  36 .sp
  37 .ne 2
  38 .na
  39 \fB\fB-o\fR \fBnoclean\fR\fR
  40 .ad
  41 .RS 14n
  42 Force a check on the cache even if there is no reason to suspect there is a
  43 problem.
  44 .RE
  45 
  46 .SH EXAMPLES
  47 .LP
  48 \fBExample 1 \fRUsing \fBfsck_cachefs\fR to Force a Check on the Cache
  49 Directory
  50 .sp
  51 .LP
  52 The following example forces a check on the cache directory \fB/cache3\fR:
  53 
  54 .sp
  55 .in +2
  56 .nf
  57 example% fsck -F cachefs -o noclean /cache3
  58 .fi
  59 .in -2
  60 .sp
  61 
  62 .SH SEE ALSO
  63 .sp
  64 .LP
  65 \fBcfsadmin\fR(1M), \fBfsck\fR(1M), \fBmount_cachefs\fR(1M), \fBvfstab\fR(4),
  66 \fBattributes\fR(5)