Joerg Wunsch
280a49ec4b
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
2002-01-26 15:53:23 +00:00
Brian Feldman
bfb55e2f97
Remove a not-very-useful printf(3).
2002-01-25 18:33:40 +00:00
Brian Feldman
8660ce229c
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.
2002-01-25 18:31:57 +00:00
Ollivier Robert
ed873335b7
Respect style(9), one must not include both <sys/types.h> and
...
<sys/param.h> (the latter includes the former).
Submitted by: bde
2001-03-22 13:19:32 +00:00
Alfred Perlstein
9eb8ec95f4
Include headers to unbreak world.
...
Submitted by: Ollivier Robert <roberto@eurocontrol.fr>
2001-03-21 20:30:35 +00:00
Jeroen Ruigrok van der Werven
2ec1f77190
Remove unused includes.
2000-05-01 20:01:16 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Bruce Evans
7abda51bbc
Fixed printf format errors.
1998-06-28 19:36:49 +00:00
Philippe Charnier
0227048a1f
Correct use of .Nm. Use .Bl/.El for enumerating options. Use .An. Correct
...
formatting of rcsid. Remove unused #includes. Do not use memory after
freeing it.
1998-06-15 07:12:20 +00:00
Bruce Evans
962cf4d335
Fixed bogus casts from (int32_t *) to (time_t *).
1997-03-13 17:56:25 +00:00
Peter Wemm
fd24d57d05
Missing $Id$
1997-03-13 12:44:53 +00:00
Peter Wemm
76863c5104
Make this compile. Mostly use the new names for the ctime/atime/mtime
...
stamps in the inodes and call one of fsck's utility funcs with a new arg.
1997-03-13 12:42:22 +00:00
Nate Williams
b70db4c5d5
ts_sec -> tv_sec
...
ts_nsec -> tv_nsec
1996-09-20 04:33:57 +00:00
Peter Wemm
d4d864ba62
Commit FreeBSD-specific changes. Mainly to do with structure layout
...
differences that we dont have.
1995-11-03 22:47:24 +00:00
Peter Wemm
39bb6d1ef0
Whoops. RE-Import NetBSD's fsdb - I believe this was written by John Kohl.
...
Obtained from: NetBSD
1995-11-03 22:38:54 +00:00