summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
AgeCommit message (Expand)Author
2007-05-18Fix mismerge; remove statement without effect. OK otto@ pedro@Todd C. Miller
2007-05-11pass the right size arg to memset, otherwise we end up with aOtto Moerbeek
2007-05-05Do not rely on fs_cpg; this is especially important for ffs2 whichTodd C. Miller
2007-04-23Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bitPedro Martelletto
2007-04-21use the correct size arg to memcmp when checking fs_cstotal.Otto Moerbeek
2007-04-18When trying to read the primary superblock, do not accidentially readOtto Moerbeek
2007-04-10Add support for checking ffs2 filesystems. From pedro@ based onTodd C. Miller
2007-03-19be a tiny little bit more verbose when encoutering bad block or fragmentOtto Moerbeek
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
2007-03-18there's no way we're going to be able to handle illegal block orOtto Moerbeek
2007-03-15Check for cg_irotor and cg_frotor being negative, okay millert@ deraadt@Pedro Martelletto
2007-02-16Fix a row of bugs in the code that computes the alternate superblockOtto Moerbeek
2007-02-13"Fix" a horrible signal handler. ckfini() breaks all the rules forOtto Moerbeek
2007-02-13Do some extra validation of the superblock, otherwise a corruptOtto Moerbeek
2007-02-12remsize must be signed to avoid wrapping around to some huge number.Otto Moerbeek
2007-02-12detect truncation of block number, which can happen which trashedOtto Moerbeek
2007-02-12max partition letter is 'a' + MAXPARTITIONS - 1, not 'h'. ok (andOtto Moerbeek
2007-02-09fix a fd leak that happens whe checking multiple file systems and someOtto Moerbeek
2007-02-08Plug some mem leaks that occur when checking multiple file systems in aOtto Moerbeek
2007-02-08A corrrup inode might lead to preposterous dir sizes. So check theOtto Moerbeek
2007-01-24A reallocated root directory gets ownership of the fsck process.Alexander Bluhm
2006-04-27Avoid spurious 'summary information bad' warnings, okay tedu@Pedro Martelletto
2006-04-17more signal handler cleaningTheo de Raadt
2006-04-17solve half of the signal race issuesTheo de Raadt
2006-04-17prettier code; ok pedroTheo de Raadt
2006-04-17Remove "l:" from getopt(3) string, since the option wasMoritz Jodeit
2006-04-07fsck needs to unset FS_FLAGS_UPDATED if it changes the super blockPedro Martelletto
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-03-30when asking y or n, accept "F" which forces yes from the on. i haveTheo de Raadt
2006-03-22earlier asprintf diff caused malloc in signal handler. clarify theTheo de Raadt
2006-03-20NetBSD Coverity CID 2074: Fix memory leak.David Hill
2006-03-12use asprintf instead of a static buffer; dhill, tested by pedroTheo de Raadt
2006-03-09Remove option -n from newfs as well as all references to fs_postbl()Pedro Martelletto
2006-01-25spell fall through as FALLTHROUGHTed Unangst
2005-12-19Add and use a few more constants and macros needed by UFS2Pedro Martelletto
2005-06-16bye bye whiteoutsTodd C. Miller
2005-04-16Since the return value from the *_info functions is only actually used as aTodd C. Miller
2005-04-16while snprintf and strlcpy and strlcat have this nice >buflen API (and theTheo de Raadt
2005-02-03misplaced .El marker;Jason McIntyre
2005-02-03sync usage outputJared Yanovich
2005-02-03- simplify, normalize, and sync usage/synopsis formsJared Yanovich
2005-02-02- syncs are done by a kernel thread, not update(8)Jared Yanovich
2004-11-29Spell precede correctly.Jonathan Gray
2004-07-05remove useless (always false) check; ok millert henningPeter Valchev
2004-02-01add paper.txt target;Jason McIntyre
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-10-11consistent newlines, from tom cosgrove at arches-consulting.com.Ted Unangst
2003-09-25do not crank size first, do not do p = realloc(p, ...Theo de Raadt
2003-09-25whack commons as wanted by hoTheo de Raadt
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst