summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/setup.c
AgeCommit message (Expand)Author
2016-09-09Tighten pledge for fsdb and eliminate a strcmp("fsdb", getprogname())Theo Buehler
2016-09-01better computation of location of alternate superblocks, based on infoOtto Moerbeek
2016-08-20fsdb(8) sucks in and is pledged by fsck(8). Since it uses editline(3),Theo Buehler
2015-11-24hotroot is calculated late in fsck_ffs, so defer the pledge.Theo de Raadt
2015-10-15corrects pledge code for fsck_ffs and fsck_ext2fsSebastien Marie
2015-10-14Since the fsck_* programs now only handle one filesystem, this createsTheo de Raadt
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-09-06inodesc.id_entryno holds a file size, so upgrade it from int to u_int64_t;Philip Guenther
2014-05-29fsck should use the same values in checking as newfs does in creatingKenneth 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-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
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-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
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2007-06-01ufs1_daddr_t cleanup, okay otto@Pedro Martelletto
2007-06-01convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thibTheo de Raadt
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto 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-02-16Fix a row of bugs in the code that computes the alternate superblockOtto Moerbeek
2007-02-13Do some extra validation of the superblock, otherwise a corruptOtto 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
2006-04-17prettier code; ok pedroTheo de Raadt
2006-03-09Remove option -n from newfs as well as all references to fs_postbl()Pedro Martelletto
2005-12-19Add and use a few more constants and macros needed by UFS2Pedro Martelletto
2003-09-25whack commons as wanted by hoTheo de Raadt
2003-06-26const the rcsid, and make it say OpenBSDTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-30only compare suberblock fields that are interesting, instead of trying toTed Unangst
2002-08-23- Convert function definitions to new styleGrigoriy Orlov
2002-06-09rm trailing whitespaceTodd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-05kill more registers;Mike Pechkin