NAME
diskdumpfmt - format a dump device or a partition
SYNOPSIS
diskdumpfmt
[
-v
]
[
[
-p
]
[
-f
]
|
-c
]
device
DESCRIPTION
diskdumpfmt
is a program to format a block device file or partition device file
that is to be specified as a disk dump
device.
There are two types of formatting. The first type is called the
initial format, and it writes special signatures over every page-size block
of the dump partition. The second type is called the normal format, and it
writes special signatures over all page-size blocks except for block #0.
Block #0 is used as the dump partition header, and is never modified during
a memory dump operation. The administrator must do an initial format of
each dump device partition only once. The normal format is required
after each memory dump, but typically it is done automatically by the
diskdump rc script.
OPTIONS
- -c
-
Check the status of the dump partition.
If the partition has been formatted, but does not contain a memory dump,
diskdumpfmt
returns 0.
If the partition has been formatted, and contains a memory dump,
diskdumpfmt
returns 1.
If the partition has not been
formatted as dump partition,
diskdumpfmt
returns 2.
- -f
-
Do initial format the dump partition.
- -p
-
Display progress for format.
- -v
-
Produce verbose output.
SEE ALSO
diskdumpctl(8),
savecore(8)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-