Commit Graph

128 Commits

Author SHA1 Message Date
bouyer 09d4663f6e Correct bogons in filetype option support, and add support for the
sparse_super option.
2000-01-28 16:01:46 +00:00
bouyer 5fb6bc4e18 First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype
option read/write and the sparse option read-only.
2000-01-26 16:21:31 +00:00
mycroft f6590b22cd Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
bouyer 1bb2b4dd78 Properly handle FIFO (linux seems to puts something in the block addr fields
here) and a new field that can be different in the master superblock and
its first copy. From Tim Shepard.
1999-02-17 13:11:19 +00:00
bouyer c3d84360ae Check malloc's return value before using the pointer. 1999-02-01 15:20:14 +00:00
bouyer 3e3f9c7795 #include machine/bswap.h and remove -lutil. 1999-01-15 13:32:05 +00:00
christos 7b57bf6d78 Adjust for DKTYPENAME changes. 1998-11-12 16:19:47 +00:00
mycroft 519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
mycroft 0e3ffd8405 const poisoning. 1998-07-26 20:23:15 +00:00
kleink 8bb2a03bf3 Need <time.h> for ctime() prototype. 1998-04-01 15:26:00 +00:00
kleink 0369f1ec1a Need <time.h> for time() prototype. 1998-04-01 15:24:12 +00:00
kleink 4212e56453 Need <time.h> for ctime() and time() prototypes. 1998-04-01 15:22:57 +00:00
mrg 8578360272 use extern int over extern 1998-03-30 02:07:59 +00:00
bouyer 9e33c5ee0d Use libutil rather than ../fsck/bswap.c 1998-03-18 16:57:31 +00:00
fvdl e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
veego 7e3be35edc s/$FSCK/${FSCK}/ 1997-10-11 15:19:18 +00:00
christos e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
bouyer 7052d78b8d Ext2 metadata are always stored on disk in little-endian byte order,
so do byte-swapping on big-endian system. The byte-swap routines are in
fsck/bswap.c because they will also be used in fsck_ffs in future.
Tested on i386 and sparc.
1997-10-09 13:19:32 +00:00
enami 9f86d6ed5e Don't declare optind and optarg. 1997-10-01 02:15:48 +00:00
mrg 52ff5d8fee make these compile on the alpha after WARNS=1. 1997-09-16 08:37:01 +00:00
lukem 6277ca4089 use .Nm correctly 1997-09-15 01:39:32 +00:00
lukem 4b836889ab * cleanup for WARNS=1
* deprecate register
* cleanup manpage
* remove unused docheck()
* getopt returns -1 not EOF
* put a ) in the correct place in a printf, so that the argument gets
  & 0xff, not the result of printf() itself...
1997-09-14 14:27:23 +00:00
mikel fc364ac664 prototype calcsb() 1997-07-10 04:53:35 +00:00
mikel 3a41a9a779 fix printf formats 1997-07-10 04:52:39 +00:00
mikel bcb582e71c eliminate dangling FFS references 1997-07-09 05:48:34 +00:00
bouyer de96ec69e2 The computed superblock size is bigger than SBSIZE, malloc() enouth
memory for it. Apparently, this bug was hidden by our malloc implementation.
Reported by Jason Downs.
1997-06-16 08:14:38 +00:00
bouyer 3663504bd6 Don't compile with -g by default. 1997-06-16 08:10:35 +00:00
bouyer 8f7c2b3739 Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs. 1997-06-11 11:21:39 +00:00