]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Split tools/diag/prtblknos into two parts:
authormckusick <mckusick@FreeBSD.org>
Sun, 8 Apr 2018 06:52:58 +0000 (06:52 +0000)
committermckusick <mckusick@FreeBSD.org>
Sun, 8 Apr 2018 06:52:58 +0000 (06:52 +0000)
commit1c8afb9a0e13c59dfe5c8ec05026ae9969fa37d4
treecdca8edfcadf179d9b17332ac5ae64627966e742
parent96cec1d54e0876e4d02b0d481d367972aae0dfeb
Split tools/diag/prtblknos into two parts:
main.c - opens disk and processes the argument list
 of inodes to be printed
prtblknos.c - prints out the list of blocks used by an inode

This change allows the fsdb program to import prtblknos() to use when
printing out the set of blocks used by an inode.

This program was switched to using the libufs library to ease its
integration with fsdb and any other filesystem utility that might
want to use it in the future.
tools/diag/prtblknos/Makefile
tools/diag/prtblknos/main.c [new file with mode: 0644]
tools/diag/prtblknos/prtblknos.c