summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb/fsdb.h
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2002-01-25 18:31:57 +0000
committergreen <green@FreeBSD.org>2002-01-25 18:31:57 +0000
commite1821d6556e665d02db48ae15e2cff8347285339 (patch)
tree61ddf6b7f196d256a0f261988215c65286cb9238 /sbin/fsdb/fsdb.h
parent92a87afd2221229ecdada434c87ce0033e7049aa (diff)
downloadFreeBSD-src-e1821d6556e665d02db48ae15e2cff8347285339.zip
FreeBSD-src-e1821d6556e665d02db48ae15e2cff8347285339.tar.gz
Allow fsdb the ability to work with entries named with whitespace embedded.
This works by retokenizing a line with a split limit so that if the argument count for a command is greater than the number of arguments formed by splitting apart the line of user input, the last argument is instead all of the remainder of the input line. Yes, I needed this capability at one point to fix a filesystem manually, which happened to break with a problematic space-containing directory entry.
Diffstat (limited to 'sbin/fsdb/fsdb.h')
-rw-r--r--sbin/fsdb/fsdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsdb/fsdb.h b/sbin/fsdb/fsdb.h
index a7fd5c4..d884f17 100644
--- a/sbin/fsdb/fsdb.h
+++ b/sbin/fsdb/fsdb.h
@@ -55,6 +55,7 @@ extern ino_t curinum;
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 checkactive __P((void));
OpenPOWER on IntegriCloud