diff options
author | joerg <joerg@FreeBSD.org> | 2002-01-26 15:53:23 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2002-01-26 15:53:23 +0000 |
commit | 0b95dce6f94b33b69a36e8dd5d460e34409ae3b1 (patch) | |
tree | a0ad263f7ec6024848b3c5912bed7cf01616dc6a /sbin/fsdb/fsdb.h | |
parent | 23425be38a1383ce13778af372cb09020309d7ee (diff) | |
download | FreeBSD-src-0b95dce6f94b33b69a36e8dd5d460e34409ae3b1.zip FreeBSD-src-0b95dce6f94b33b69a36e8dd5d460e34409ae3b1.tar.gz |
Something i always wanted to see: add a function to print the list of
blocks allocated by some inode. Indirect blocks are printed
recursively, so beware :), the list could become lengthy...
(We should probably add some output pager to fsdb.)
MFC after: 1 month
Diffstat (limited to 'sbin/fsdb/fsdb.h')
-rw-r--r-- | sbin/fsdb/fsdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsdb/fsdb.h b/sbin/fsdb/fsdb.h index d884f17..7f2bc2e 100644 --- a/sbin/fsdb/fsdb.h +++ b/sbin/fsdb/fsdb.h @@ -57,6 +57,6 @@ int argcount __P((struct cmdtable *cmdp, int argc, char *argv[])); char **crack __P((char *line, int *argc)); char **recrack __P((char *line, int *argc, int argc_max)); void printstat __P((const char *cp, ino_t inum, struct dinode *dp)); -int printactive __P((void)); +int printactive __P((int doblocks)); int checkactive __P((void)); int checkactivedir __P((void)); |