Print this page
6198 Let's EOL cachefs
   1 '\" te
   2 .\" Copyright (c) 2008, 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 FSCK 1M "May 7, 2008"
   8 .SH NAME
   9 fsck \- check and repair file systems
  10 .SH SYNOPSIS
  11 .LP
  12 .nf
  13 \fBfsck\fR [\fB-F\fR \fIFSType\fR] [\fB-m\fR] [\fB-V\fR] [\fB-v\fR] [\fIspecial\fR]...
  14 .fi
  15 
  16 .LP
  17 .nf
  18 \fBfsck\fR [\fB-F\fR \fIFSType\fR] [\fB-n\fR | N | y | Y] [\fB-V\fR] [\fB-v\fR]
  19      [\fB-o\fR \fIFSType-specific-options\fR] [\fIspecial\fR]...
  20 .fi
  21 
  22 .SH DESCRIPTION
  23 .sp
  24 .LP
  25 \fBfsck\fR audits and interactively repairs inconsistent file system
  26 conditions. If the file system is inconsistent the default action for each
  27 correction is to wait for the user to respond \fByes\fR or \fBno\fR. If the


 354 
 355 .SH ATTRIBUTES
 356 .sp
 357 .LP
 358 See \fBattributes\fR(5) for descriptions of the following attributes:
 359 .sp
 360 
 361 .sp
 362 .TS
 363 box;
 364 c | c
 365 l | l .
 366 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 367 _
 368 Interface Stability     Committed
 369 .TE
 370 
 371 .SH SEE ALSO
 372 .sp
 373 .LP
 374 \fBclri\fR(1M), \fBfsck_cachefs\fR(1M), \fBfsck_ufs\fR(1M), \fBfsdb_ufs\fR(1M),
 375 \fBfsirand\fR(1M), \fBfstyp\fR(1M), \fBmkfs\fR(1M), \fBmkfs_ufs\fR(1M),
 376 \fBmountall\fR(1M), \fBnewfs\fR(1M), \fBreboot\fR( 1M), \fBvfstab\fR(4),
 377 \fBattributes\fR(5), \fBlargefile\fR(5), \fBufs\fR(7FS)
 378 .SH WARNINGS
 379 .sp
 380 .LP
 381 The operating system buffers file system data. Running \fBfsck\fR on a mounted
 382 file system can cause the operating system's buffers to become out of date with
 383 respect to the disk. For this reason, the file system should be \fIunmounted\fR
 384 when \fBfsck\fR is used. If this is not possible, care should be taken that the
 385 system is quiescent and that it is rebooted immediately after \fBfsck\fR is
 386 run. Quite often, however, this will not be sufficient. A panic will probably
 387 occur if running \fBfsck\fR on a file system modifies the file system.
 388 .SH NOTES
 389 .sp
 390 .LP
 391 This command may not be supported for all \fIFSTypes\fR.
 392 .sp
 393 .LP
 394 Starting with Solaris 9, \fBfsck\fR manages extended attribute data on the
   1 '\" te
   2 .\" Copyright (c) 2008, 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 FSCK 1M "Sep 8, 2015"
   9 .SH NAME
  10 fsck \- check and repair file systems
  11 .SH SYNOPSIS
  12 .LP
  13 .nf
  14 \fBfsck\fR [\fB-F\fR \fIFSType\fR] [\fB-m\fR] [\fB-V\fR] [\fB-v\fR] [\fIspecial\fR]...
  15 .fi
  16 
  17 .LP
  18 .nf
  19 \fBfsck\fR [\fB-F\fR \fIFSType\fR] [\fB-n\fR | N | y | Y] [\fB-V\fR] [\fB-v\fR]
  20      [\fB-o\fR \fIFSType-specific-options\fR] [\fIspecial\fR]...
  21 .fi
  22 
  23 .SH DESCRIPTION
  24 .sp
  25 .LP
  26 \fBfsck\fR audits and interactively repairs inconsistent file system
  27 conditions. If the file system is inconsistent the default action for each
  28 correction is to wait for the user to respond \fByes\fR or \fBno\fR. If the


 355 
 356 .SH ATTRIBUTES
 357 .sp
 358 .LP
 359 See \fBattributes\fR(5) for descriptions of the following attributes:
 360 .sp
 361 
 362 .sp
 363 .TS
 364 box;
 365 c | c
 366 l | l .
 367 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 368 _
 369 Interface Stability     Committed
 370 .TE
 371 
 372 .SH SEE ALSO
 373 .sp
 374 .LP
 375 \fBclri\fR(1M), \fBfsck_ufs\fR(1M), \fBfsdb_ufs\fR(1M),
 376 \fBfsirand\fR(1M), \fBfstyp\fR(1M), \fBmkfs\fR(1M), \fBmkfs_ufs\fR(1M),
 377 \fBmountall\fR(1M), \fBnewfs\fR(1M), \fBreboot\fR( 1M), \fBvfstab\fR(4),
 378 \fBattributes\fR(5), \fBlargefile\fR(5), \fBufs\fR(7FS)
 379 .SH WARNINGS
 380 .sp
 381 .LP
 382 The operating system buffers file system data. Running \fBfsck\fR on a mounted
 383 file system can cause the operating system's buffers to become out of date with
 384 respect to the disk. For this reason, the file system should be \fIunmounted\fR
 385 when \fBfsck\fR is used. If this is not possible, care should be taken that the
 386 system is quiescent and that it is rebooted immediately after \fBfsck\fR is
 387 run. Quite often, however, this will not be sufficient. A panic will probably
 388 occur if running \fBfsck\fR on a file system modifies the file system.
 389 .SH NOTES
 390 .sp
 391 .LP
 392 This command may not be supported for all \fIFSTypes\fR.
 393 .sp
 394 .LP
 395 Starting with Solaris 9, \fBfsck\fR manages extended attribute data on the