summaryrefslogtreecommitdiff
path: root/sbin/ncheck_ffs
AgeCommit message (Expand)Author
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-02In manpages, don't escape apostrophes as \'; it's rarely what you want.Anthony J. Bentley
2016-05-28Don't pledge before opendev() and ioctl DIOCGDINFO were called.Theo Buehler
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2015-11-23Use pledge "disklabel" as needed. The theory here is these tools become moreTheo de Raadt
2015-11-23ncheck_ffs may be invoked more simply as ncheck,Jason McIntyre
2015-10-11Pledge that ncheck_ffs only uses "stdio" after opening the device.Doug Hogan
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++Theo 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-10-09fairly obvious reallocarray() conversion, where the size is recalculatedTheo de Raadt
2014-07-09Oops. Forgot makefile ...Kenneth R Westerback
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-07-16Add missing .Mt macros for AUTHORS email addresses.Ingo Schwarze
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-31convert to new .Dd format;Jason McIntyre
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-06-03- section reorderJason McIntyre
2003-03-06Make fsdb(8) a little easier to find with some cross references.Hugh Graham
2003-02-07typos;Jason McIntyre
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