xref: /illumos-gate/usr/src/man/man8/fsdb.8 (revision 63f91fbc3c024870d86dc3332a4a0080fb29bc40)
te
Copyright 1989 AT&T Copyright (c) 1996, 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]
FSDB 8 "Sep 16, 1996"
NAME
fsdb - file system debugger
SYNOPSIS

fsdb [-F FSType] [-V] [-o FSType-specific_options] special
DESCRIPTION

fsdb is a file system debugger that allows for the manual repair of a file system after a crash. special is a special device used to indicate the file system to be debugged. fsdb is intended for experienced users only. FSType is the file system type to be debugged. Since different FSTypes have different structures and hence different debugging capabilities, the manual pages for the FSType-specific fsdb should be consulted for a more detailed description of the debugging capabilities.

OPTIONS
-F

Specify the FSType on which to operate. The FSType should either be specified here or be determinable from /etc/vfstab by matching the special with an entry in the table, or by consulting /etc/default/fs.

-V

Echo the complete command line, but do not execute the command. The command line is generated by using the options and arguments provided by the user and adding to them information derived from /etc/vfstab. This option may be used to verify and validate the command line.

-o

Specify FSType-specific options.

USAGE

See largefile(7) for the description of the behavior of fsdb when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).

FILES
/etc/default/fs

default local file system type. Default values can be set for the following flags in /etc/default/fs. For example: LOCAL=ufs LOCAL:

The default partition for a command if no FSType is specified.

/etc/vfstab

list of default parameters for each file system

SEE ALSO

vfstab(5), attributes(7), largefile(7) Manual pages for the FSType-specific modules of fsdb.

NOTES

This command may not be supported for all FSTypes.