summaryrefslogtreecommitdiff
path: root/sbin/ncheck_ffs/ncheck_ffs.c
AgeCommit message (Expand)Author
2014-10-09fairly obvious reallocarray() conversion, where the size is recalculatedTheo de Raadt
2014-07-09Enable specifying the filesystem of interest by the duid.Kenneth R Westerback
2014-05-27Where trying to pread() a single disk sector, the i/o must be for theKenneth R Westerback
2014-05-24Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables inKenneth R Westerback
2014-05-22Nuke 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-13Since this is limited to ffs, use ufsinfo_t instead of ino_t.Philip Guenther
2014-05-11replace realloc(p, N * M) with reallocarray(p, N, M) and remove someAlexander Hall
2014-05-11struct direct's d_ino is no longer the same size as an ino_t, so copy itPhilip Guenther
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-24pretty print bigger off_tTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-02snprintf returns int, not size_t.Ray Lai
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2007-07-09correct a typo in an error message.Thordur I. Bjornsson
2007-06-29more daddr64_t changes; checked by ottoTheo de Raadt
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-21Add ffs2 support; some parts adapted from ffs2 dump changes in FreeBSD.Todd C. Miller
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
2006-04-02use SEEK_* for lseek()Theo de Raadt
2005-11-12more asprintf; ok dhill@mindcry.orgTheo de Raadt
2005-04-12handle snprintf potential -1 caseTheo de Raadt
2004-08-08spacingTheo de Raadt
2003-11-21- standard SYNOPSISJason McIntyre
2003-09-25realloc fixes; 3rd rev to make markus happierTheo de Raadt
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
2003-07-29spacesTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-04term 3 & 4 from tholo after permissionTheo de Raadt
2003-01-17Add a new option, -f, that allows the user to specify a custom outputTodd C. Miller
2003-01-17Don't report setugid directories in "ncheck -s" output since thoseTodd C. Miller
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-07-11malloc() failure tests; rimshot@pandora.beTheo de Raadt
2002-07-03ansiTheo de Raadt
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-03-14Remove \n from err/errx/warn/warnx().Mike Pechkin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-01use strtoul() instead of atoi()Theo de Raadt
2001-11-05kill more registers;Mike Pechkin
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-08-14ncheck -i would never show any information as it did not cache the directoryThorsten Lockert
1996-06-30Accept mount points and block devicesThorsten Lockert
1996-06-30Fix usage and manpageThorsten Lockert
1996-06-25ncheck(8) implementationThorsten Lockert