ffsinfo8
Dump all meta information of an existing ufs file system
Usage
ffsinfo {[-g
cylinder_group]
[-i
inode]
[-l
level]
[-o
outfile]
special | file}
Overview
The ffsinfo utility extends the dumpfs(8) utility.
The output is appended to the file outfile. Also expect the output file to be rather large. Up to 2 percent of the size of the specified file system is not uncommon.
The following options are available:
-
-g cylinder_group -
This restricts the dump to information about this cylinder group only. Here 0 means the first cylinder group and -1 the last one.
-
-i inode -
This restricts the dump to information about this particular inode only. Here the minimum acceptable inode is 2. If this option is omitted but a cylinder group is defined then only inodes within that cylinder group are dumped.
-
-l level -
The level of detail which will be dumped. This value defaults to 255 and is the “bitwise or” of the following table:
- 0x001
-
initial superblock
- 0x002
-
superblock copies in each cylinder group
- 0x004
-
cylinder group summary in initial cylinder group
- 0x008
-
cylinder group information
- 0x010
-
inode allocation bitmap
- 0x020
-
fragment allocation bitmap
- 0x040
-
cluster maps and summary
- 0x100
-
inode information
- 0x200
-
indirect block dump
-
-o outfile -
This sets the output filename where the dump is written to, and must be specified. If
-is provided, output will be sent to stdout.
Examples
ffsinfo -o /var/tmp/ffsinfo -l 1023 /dev/md0
will dump /dev/md0 to /var/tmp/ffsinfo with all available information.
Releases
63 releases since FreeBSD 4.4-RELEASE; the text changed 42 times.
- 4.4–4.6.2
- 4.7
- 4.8–4.9
- 4.10–4.11
- 5.2–5.2.1
- 5.3–5.4
- 5.5
- 6.0–6.3
- 6.4
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 9.0
- 9.1
- 9.2
- 9.3
- 10.0
- 10.1
- 10.2
- 10.3
- 10.4
- 11.0
- 11.1
- 11.2
- 11.3
- 11.4
- 12.0
- 12.1
- 12.2
- 12.3
- 12.4
- 13.0
- 13.1–13.2
- 13.3–14.2
- 14.3–14.5
- 15.0–16.0
-L until FreeBSD 4.11-RELEASE.