summaryrefslogtreecommitdiffstats
path: root/sbin/ncheck_ffs
AgeCommit message (Expand)AuthorFilesLines
2020-02-08minor formatting tweak: remove incorrect .Ar and garbage collect .Tnschwarze1-5/+3
2020-02-08ncheck was in v6jsg1-2/+6
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.deraadt1-3/+3
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-5/+5
2019-06-02In manpages, don't escape apostrophes as \'; it's rarely what you want.bentley1-3/+3
2016-05-28Don't pledge before opendev() and ioctl DIOCGDINFO were called.tb1-4/+1
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-2/+1
2015-11-23Use pledge "disklabel" as needed. The theory here is these tools become morederaadt1-1/+4
2015-11-23ncheck_ffs may be invoked more simply as ncheck,jmc1-3/+8
2015-10-11Pledge that ncheck_ffs only uses "stdio" after opening the device.doug1-1/+5
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++deraadt1-5/+5
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orderaadt1-2/+2
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-3/+4
2014-10-09fairly obvious reallocarray() conversion, where the size is recalculatedderaadt1-6/+3
2014-07-09Oops. Forgot makefile ...krw1-1/+3
2014-07-09Enable specifying the filesystem of interest by the duid.krw1-6/+19
2014-05-27Where trying to pread() a single disk sector, the i/o must be for thekrw1-9/+17
2014-05-24Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables inkrw1-20/+18
2014-05-22Nuke some trailing whitespace to shrink subsequent diffs.krw1-2/+2
2014-05-20As suggested by guenther@ and millert@, replace seek+[read|write] withkrw1-7/+5
2014-05-13Since this is limited to ffs, use ufsinfo_t instead of ino_t.guenther1-58/+68
2014-05-11replace realloc(p, N * M) with reallocarray(p, N, M) and remove somehalex1-13/+5
2014-05-11struct direct's d_ino is no longer the same size as an ino_t, so copy itguenther1-2/+4
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tkrw1-8/+10
2013-07-16Add missing .Mt macros for AUTHORS email addresses.schwarze1-3/+3
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughderaadt1-8/+8
2013-04-24pretty print bigger off_tderaadt1-12/+14
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-5/+1
2009-06-02snprintf returns int, not size_t.ray1-3/+4
2007-08-06the ellipsis is not an optional argument; while here, sync the usagesobrado2-7/+8
2007-07-09correct a typo in an error message.thib1-5/+9
2007-06-29more daddr64_t changes; checked by ottoderaadt1-3/+3
2007-06-01ufs1_daddr_t cleanup, okay otto@pedro1-6/+6
2007-06-01convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thibderaadt1-10/+10
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-21Add ffs2 support; some parts adapted from ffs2 dump changes in FreeBSD.millert1-69/+143
2007-03-19Add FFS2 fields to the superblock, change file system tools to keeppedro1-3/+3
2006-04-02use SEEK_* for lseek()deraadt1-4/+4
2005-11-12more asprintf; ok dhill@mindcry.orgderaadt1-8/+3
2005-04-12handle snprintf potential -1 casederaadt1-4/+4
2004-08-08spacingderaadt1-3/+3
2003-11-21- standard SYNOPSISjmc2-22/+22
2003-09-25realloc fixes; 3rd rev to make markus happierderaadt1-16/+27
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makestedu1-17/+17
2003-07-29spacesderaadt1-4/+4
2003-06-11ansificationderaadt1-3/+4
2003-06-04term 3 & 4 from tholo after permissionderaadt2-13/+3
2003-06-03- section reorderjmc1-11/+29
2003-03-06Make fsdb(8) a little easier to find with some cross references.hugh1-2/+3
2003-02-07typos;jmc1-3/+3