]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Commit 1 of 2 to fix ffsinfo(8) for UFS2.
authorrwatson <rwatson@FreeBSD.org>
Thu, 14 Aug 2003 18:55:31 +0000 (18:55 +0000)
committerrwatson <rwatson@FreeBSD.org>
Thu, 14 Aug 2003 18:55:31 +0000 (18:55 +0000)
commitf25b6baf4b35d436161e29d5813c10e287d8d396
treeee361914ed07679e9403628c060ab0421a956148
parent561613bab84178853cab1279e0a22dad7f2f1aa0
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
sbin/ffsinfo/Makefile
sbin/ffsinfo/ffsinfo.8
sbin/ffsinfo/ffsinfo.c