summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
AgeCommit message (Expand)Author
2014-10-14rely on reallocarray() to give us the overflow detection, rather thanTheo de Raadt
2014-10-08trivial use of getreallocarray()Theo de Raadt
2014-09-06inodesc.id_entryno holds a file size, so upgrade it from int to u_int64_t;Philip Guenther
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-05-29fsck should use the same values in checking as newfs does in creatingKenneth R Westerback
2014-05-24Use consistent format specifiers (%lld) and casts (long long) whenKenneth R Westerback
2014-05-21Nuke some trailing whitespace to shrink subsequent diffs.Kenneth R Westerback
2014-05-20As suggested by guenther@ and millert@, replace seek+[read|write] withKenneth R Westerback
2014-05-09Modernize spelling. 'Mimick' -> 'Mimic' in comment.Kenneth R Westerback
2014-05-09Fix '-b' option to work with the superblock locations output by newfsKenneth R Westerback
2013-11-22Kirk was being waaaay too chummy with the compiler when he trustedPhilip Guenther
2013-11-11incorrect %lld for an intTheo de Raadt
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback
2013-11-03Add missing (long long) cast of variable, (long long) castsKenneth R Westerback
2013-11-02No need to cast constants or simple variables to (daddr_t). UseKenneth R Westerback
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-04-25big int_t/time_t fixes; ok deraadt@ krw@Otto Moerbeek
2013-04-24pretty print bigger off_tTheo de Raadt
2013-02-11Xr scan_ffs 8; requested by Scott McEachernJason McIntyre
2011-05-08Small memory optimization from NetBSD; ok krw@ millert@Otto Moerbeek
2011-05-02Remove unused variableCharles Longeau
2011-04-24remove support for (very) old ffs on-disk formats; ok krw@ and noOtto Moerbeek
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