summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
AgeCommit message (Expand)Author
2011-04-16Blend in some code from netbsd and freebsd that reduces memory consumptionOtto Moerbeek
2010-08-12Print the real device name followed by the disklabel UID in parenthesisJoel Sing
2010-07-09kill redundant docheck() function; ok deraadt@Otto Moerbeek
2010-07-09Avoid crashes by using correct types for block numbers, which can growOtto Moerbeek
2010-06-15When fsck_ffs is used with disklabel UIDs the hot root test fails inJoel Sing
2010-06-09add missing headers needed for opendev() and close()Charles Longeau
2010-06-05Switch fsck_ffs(8) and fsdb(8) to opendev(3) so that they will soon be ableJoel Sing
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-03-03Add description of -p and remove reference to fstab processing.Otto Moerbeek
2010-01-10remove references to docs we no longer install;Jason McIntyre
2010-01-04Stop installing many of the incredibly dated and un-authoritative share/docTheo de Raadt
2010-01-03Neither .Pp nor unqualified text are allowed at the top level of .Bl;Ingo Schwarze
2009-12-10do not leak memory, found by parfait, ok millert ottoTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-05-29catch funny values of cg_initediblk; make fsck_ffs more robustOtto Moerbeek
2008-12-29Some forms of inode corruption can make remsize and thus isize goOtto Moerbeek
2008-11-09add missing header needed by getpagesize().Charles Longeau
2008-11-06Have called pass pagesize into FS_KERNMAXFILESIZE(), because there is noTheo de Raadt
2008-11-02check for the maximum file size to avoid some out-of-bounds accesses;Otto Moerbeek
2008-06-10reduce mem usage by about 20% by packing state and type of an inode in a singleOtto Moerbeek
2008-06-10print sizeofs using %zu; ok joris@Otto Moerbeek
2008-06-09The new newfs(8) code causes alternate superblocks to end up inOtto Moerbeek
2008-05-26reorg fields in structs inodesc and inoinfo to reduce size on some archs; fromOtto Moerbeek
2007-09-16Do not use DIP() as an lvalue; founc by pcc. ok millert@ ray@Otto Moerbeek
2007-07-17rmoev the macppc workaround, now that isset() and friends use expressionsOtto Moerbeek
2007-07-04workaround for [daddr64_t] issue; worked on mostly by otto, wee bit by meTheo de Raadt
2007-06-25Teach fsck_ffs about 64-bit block addresses. ok (and help) moritz@ pedro@Otto Moerbeek
2007-06-01ufs1_daddr_t cleanup, okay otto@Pedro Martelletto
2007-06-01Don't use cg.cg_niblk but fs.fs_ipg; the former has no meaning any more.Otto Moerbeek
2007-06-01convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thibTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
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