Commit Graph

28 Commits

Author SHA1 Message Date
wiz 71839f7f61 Standardize flags display in usage. 2004-01-04 00:13:00 +00:00
dbj efbd5db673 add -F option, similar to fsck/newfs/dumpfs
correctly handle negative results from fsck's setup routine
handle uid and gid in FS_42INODEFMT inodes
2004-01-03 19:57:42 +00:00
itojun 0e4dc5229d use bounded string op 2003-07-13 08:16:15 +00:00
bouyer e43e53604e Add a findblk command, which list the inode(s) owning the disk sector(s)
passed as argument.
2003-04-26 08:42:49 +00:00
fvdl bbc00e975a Fix reverse test for UFS2 in the blks command. 2003-04-08 14:46:21 +00:00
fvdl 42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
fvdl a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
grant 6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
thorpej 26ba84d1e5 Cast 3rd arg to el_parse() to deal with const'ification of
libedit.
2002-03-18 20:04:49 +00:00
cgd 8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
christos 566662ba06 remove redundant declarations 2001-02-04 21:25:54 +00:00
is 9979da6cbb Format string cleanups by Bill Sommerfeld. 2000-10-10 20:24:49 +00:00
bouyer 4656cdfb18 Add a [-n] option, which allows to examine a fs without altering it.
Add a 'blks' command, which lists the blocks address of a file.
1999-03-09 16:11:47 +00:00
enami 96b575ec0b s/H_SETMAXSIZE/H_SETSIZE/ 1998-05-20 10:01:11 +00:00
christos 1b8cd7e6c1 Adapt to the libedit changes. 1998-05-20 00:58:05 +00:00
kleink a82d8663e7 Need <time.h> for mktime() prototype. 1998-04-01 16:04:21 +00:00
bouyer 6fe0568e9e Add support for non-native byteorder FFS. 1998-03-18 17:03:15 +00:00
christos 946049095f PR/4257: Jaromir Dolecek: Update for libedit interface change. 1997-10-14 15:06:42 +00:00
lukem e8d49227b7 deprecate register 1997-09-15 01:45:36 +00:00
lukem 66a64254b8 * KNF-ify
* prefix hex numbers with '0x'
1997-09-14 14:56:57 +00:00
jtc fb0208bc77 Fix files using old TNF copyright notice 1997-07-31 00:21:53 +00:00
lukem 6c8a1cc329 don't call el_parse() if there's no commands (el_parse() now checks this,
but more safety is good)
1997-01-11 06:50:53 +00:00
thorpej 7e0782662e Add a chlen command, to change the length/size of an inode. From FreeBSD. 1996-10-11 20:22:43 +00:00
christos 60e2d41cb1 Make this work after the fsck changes. 1996-09-28 19:30:35 +00:00
jtc cac62b2d65 Be pedantic, main() returns int in C. 1996-03-21 17:56:15 +00:00
jtc 8bd51c47b9 Copyright assigned to the NetBSD Foundation 1996-02-27 22:28:09 +00:00
thorpej e727d216d2 A teensy bit of really minor cleanup. 1995-10-08 23:18:08 +00:00
thorpej 3f7621c16a FFS debugging/editing tool, from John Kohl. 1995-10-08 23:08:36 +00:00