diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-08-14 18:55:31 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-08-14 18:55:31 +0000 |
commit | f25b6baf4b35d436161e29d5813c10e287d8d396 (patch) | |
tree | ee361914ed07679e9403628c060ab0421a956148 /sbin/ffsinfo/ffsinfo.8 | |
parent | 561613bab84178853cab1279e0a22dad7f2f1aa0 (diff) | |
download | FreeBSD-src-f25b6baf4b35d436161e29d5813c10e287d8d396.zip FreeBSD-src-f25b6baf4b35d436161e29d5813c10e287d8d396.tar.gz |
Commit 1 of 2 to fix ffsinfo(8) for UFS2.
Update ffsinfo(8) to use new UFS2 support in the growfs(8) debugging
functions. Largely consists of renaming fields and types to be aware
of the UFS1/UFS2 distinction, relying on libufs(3) to open and sanity
check the device/file/label accessed.
Since libufs(3) now handles label/UFS interactions, remove -L argument.
Note: when submitted, this patch had substantial style changes. I've
attempted to remove the restyling from the patch to separate the
functional and style changes.
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: bin/53517
Diffstat (limited to 'sbin/ffsinfo/ffsinfo.8')
-rw-r--r-- | sbin/ffsinfo/ffsinfo.8 | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sbin/ffsinfo/ffsinfo.8 b/sbin/ffsinfo/ffsinfo.8 index 2139a59..6d70564 100644 --- a/sbin/ffsinfo/ffsinfo.8 +++ b/sbin/ffsinfo/ffsinfo.8 @@ -45,7 +45,6 @@ .Nd "dump all meta information of an existing ufs file system" .Sh SYNOPSIS .Nm -.Op Fl L .Op Fl g Ar cylinder_group .Op Fl i Ar inode .Op Fl l Ar level @@ -65,9 +64,6 @@ Up to 2 percent of the size of the specified file system is not uncommon. .Pp The following options are available: .Bl -tag -width indent -.It Fl L -Specifying this option skips the tests of the disklabel. -This is done automatically, if the specified filename to dump is a plain file. .It Fl g Ar cylinder_group This restricts the dump to information about this cylinder group only. Here @@ -104,8 +100,6 @@ inode allocation bitmap fragment allocation bitmap .It Ar 0x040 cluster maps and summary -.It Ar 0x080 -rotational layout tables .It Ar 0x100 inode information .It Ar 0x200 @@ -126,13 +120,7 @@ will dump .Pa /dev/vinum/testvol with all available information. .Sh BUGS -Currently -.Nm -can only dump unmounted file systems. -Do not try dumping a mounted file system, your system may panic and you will -not be able to use the file system any longer. -.Pp -Also snapshots are handled like plain files. +Snapshots are handled like plain files. They should get their own level to provide for independent control of the amount of what gets dumped. It probably also makes sense to some extend to dump the snapshot as a |