xref: /titanic_41/usr/src/man/man1m/fsck_cachefs.1m (revision 4445fffbbb1ea25fd0e9ea68b9380dd7a6709025)
te
Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
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.
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.
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]
FSCK_CACHEFS 1M "Oct 9, 2002"
NAME
fsck_cachefs - check integrity of data cached with CacheFS
SYNOPSIS

fsck -F cachefs [-m] [-o noclean] cache_directory
DESCRIPTION

The CacheFS version of the fsck command checks the integrity of a cache directory.This utility corrects any CacheFS problems it finds by default. There is no interactive mode. The most likely invocation of fsck for CacheFS file systems is at boot time from an entry in the /etc/vfstab file. See vfstab(4).

OPTIONS

The following options are supported: -m

Check, but do not repair.

-o noclean

Force a check on the cache even if there is no reason to suspect there is a problem.

EXAMPLES

Example 1 Using fsck_cachefs to Force a Check on the Cache Directory

The following example forces a check on the cache directory /cache3:

example% fsck -F cachefs -o noclean /cache3
SEE ALSO

cfsadmin(1M), fsck(1M), mount_cachefs(1M), vfstab(4), attributes(5)