Print this page
10057 Man page misspellings ouput particuliar overriden
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
*** 10,20 ****
.nf
\fBfsdb\fR \fB-F\fR ufs [\fIgeneric_options\fR] [\fIspecific_options\fR] \fIspecial\fR
.fi
.SH DESCRIPTION
- .sp
.LP
The \fBfsdb_ufs\fR command is an interactive tool that can be used to patch up
a damaged \fBUFS\fR file system. It has conversions to translate block and
i-numbers into their corresponding disk addresses. Also included are mnemonic
offsets to access different parts of an inode. These greatly simplify the
--- 10,19 ----
*** 35,45 ****
.sp
.LP
Wherever possible, \fBadb-\fRlike syntax was adopted to promote the use of
\fBfsdb\fR through familiarity.
.SH OPTIONS
- .sp
.LP
The following option is supported:
.sp
.ne 2
.na
--- 34,43 ----
*** 86,96 ****
.RE
.RE
.SH USAGE
- .sp
.LP
Numbers are considered hexadecimal by default. However, the user has control
over how data is to be displayed or accepted. The \fBbase\fR command will
display or set the input/output base. Once set, all input will default to this
base and all output will be shown in this base. The base can be overridden
--- 84,93 ----
*** 199,209 ****
.sp
.LP
is again synonymous.
.SS "Expressions"
- .sp
.LP
The symbols recognized by \fBfsdb\fR are:
.sp
.ne 2
.na
--- 196,205 ----
*** 242,262 ****
.na
\fB\fB?\fR\fI f\fR\fR
.ad
.RS 13n
display in structured style with format specifier \fIf\fR. See
! \fBFormatted\fROutput\fB\&.\fR
.RE
.sp
.ne 2
.na
\fB\fB/\fR\fI f\fR\fR
.ad
.RS 13n
! display in unstructured style with format specifier \fIf\fR See
! \fBFormatted\fROutput\fB\&.\fR
.RE
.sp
.ne 2
.na
--- 238,258 ----
.na
\fB\fB?\fR\fI f\fR\fR
.ad
.RS 13n
display in structured style with format specifier \fIf\fR. See
! \fBFormatted Output\fR.
.RE
.sp
.ne 2
.na
\fB\fB/\fR\fI f\fR\fR
.ad
.RS 13n
! display in unstructured style with format specifier \fIf\fR. See
! \fBFormatted Output\fR.
.RE
.sp
.ne 2
.na
*** 333,345 ****
.ne 2
.na
\fB\fB=\fR\fI f\fR\fR
.ad
.RS 13n
! display indicator. If \fIf\fR is a legitimate format specifier. then the value
of \fBdot\fR is displayed using the format specifier \fIf\fR. See
! \fBFormatted\fROutput. Otherwise, assignment is assumed See \fB=\fR.
.RE
.sp
.ne 2
.na
--- 329,341 ----
.ne 2
.na
\fB\fB=\fR\fI f\fR\fR
.ad
.RS 13n
! display indicator. If \fIf\fR is a legitimate format specifier, then the value
of \fBdot\fR is displayed using the format specifier \fIf\fR. See
! \fBFormatted Output\fR. Otherwise, assignment is assumed. See \fB=\fR.
.RE
.sp
.ne 2
.na
*** 371,381 ****
decremental assignment. The address pointed to by \fBdot\fR has its contents
decremented by expression \fIe\fR.
.RE
.SS "Commands"
- .sp
.LP
A command must be prefixed by a ':' character. Only enough letters of the
command to uniquely distinguish it are needed. Multiple commands may be entered
on one line by separating them by a \fBSPACE,\fR \fBTAB\fR or ';'.
.sp
--- 367,376 ----
*** 581,591 ****
.na
\fB\fBoverride\fR\fR
.ad
.sp .6
.RS 4n
! toggle the value of override. Some error conditions may be overriden if
override is toggled on.
.RE
.sp
.ne 2
--- 576,586 ----
.na
\fB\fBoverride\fR\fR
.ad
.sp .6
.RS 4n
! toggle the value of override. Some error conditions may be overridden if
override is toggled on.
.RE
.sp
.ne 2
*** 650,660 ****
.RS 4n
escape to shell
.RE
.SS "Inode Commands"
- .sp
.LP
In addition to the above commands, there are several commands that deal with
inode fields and operate directly on the current \fBinode\fR (they still
require the ':'). They may be used to more easily display or change the
particular fields. The value of \fIdot\fR is only used by the '\fB:db\fR'
--- 645,654 ----
*** 711,721 ****
.in -2
.sp
would get the contents of data block field 1 from the inode and convert it to a
block address. 20 longs are then displayed in hexadecimal. See
! \fBFormatted\fROutput\fB\&.\fR
.RE
.sp
.ne 2
.na
--- 705,715 ----
.in -2
.sp
would get the contents of data block field 1 from the inode and convert it to a
block address. 20 longs are then displayed in hexadecimal. See
! \fBFormatted Output\fR.
.RE
.sp
.ne 2
.na
*** 827,837 ****
.RS 7n
user id.
.RE
.SS "Formatted Output"
- .sp
.LP
There are two styles and many format types. The two styles are structured and
unstructured. Structured output is used to display inodes, directories,
superblocks and the like. Unstructured displays raw data. The following shows
the different ways of displaying:
--- 821,830 ----
*** 1213,1234 ****
.fi
.in -2
.sp
.SH SEE ALSO
- .sp
.LP
\fBclri\fR(1M), \fBfsck_ufs\fR(1M), \fBdir_ufs\fR(4), \fBattributes\fR(5),
\fBufs\fR(7FS)
.SH WARNINGS
- .sp
.LP
Since \fBfsdb\fR reads the disk raw, extreme caution is advised in determining
its availability of \fBfsdb\fR on the system. Suggested permissions are 600 and
owned by bin.
.SH NOTES
- .sp
.LP
The old command line syntax for clearing i-nodes using the ufs-specific
\fB\&'-z i-number'\fR option is still supported by the new debugger, though it
is obsolete and will be removed in a future release. Use of this flag will
result in correct operation, but an error message will be printed warning of
--- 1206,1224 ----