summaryrefslogtreecommitdiffstats
path: root/sbin/scan_ffs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Delete BUGS: dubious style and not relevant/accuratejca2019-02-101-5/+1
| | | | Noticed by deraadt@
* Add a warning that scan_ffs doesn't support FFS2 filesystemsjca2019-02-101-1/+5
| | | | Hints and wording from jmc@
* Drop useless .TH line; ok jmc@jca2019-02-101-3/+2
|
* Prefer <fcntl.h> over <sys/fcntl.h> in userlandguenther2018-04-261-6/+7
| | | | | | While here, delete some extra #includes and apply style(9) sort rules. ok deraadt@ krw@ mpi@
* remove redundant variable declarations in Makefiles, since those areespie2017-07-091-2/+1
| | | | | | the default. okay millert@
* Use pledge "disklabel" as needed. The theory here is these tools become morederaadt2015-11-231-1/+4
| | | | | resistant against memory correctup, if a corrupt filesystem is given to them. ok krw
* After the disk is opened, this can pledge "stdio".deraadt2015-10-111-1/+4
| | | | ok doug
* Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orderaadt2015-01-201-2/+1
| | | | | delete <sys/param.h> if now possible ok guenther
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+3
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* Sprinkle (long long) casts where %lld is being used to print daddr_tkrw2013-11-011-5/+8
| | | | | | variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@
* final removal of daddr64_t. daddr_t has been 64 bit for a long enoughderaadt2013-06-111-4/+4
| | | | | test period; i think 3 years ago the last bugs fell out. ok otto beck others
* handle large time_tderaadt2013-04-021-2/+5
|
* Remove two stray references to the departed -r argument to disklabel.krw2008-03-231-4/+4
| | | | Pointed out by jmc@
* daddr_t -> daddr64_t; ok pedro@ thib@otto2007-06-221-10/+15
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* Add FFS2 fields to the superblock, change file system tools to keeppedro2007-03-191-6/+6
| | | | | accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@ and thib@, thanks.
* - sort optionsjmc2006-09-111-21/+11
| | | | - no need for .Pp between list items
* Use argv[0] where argv[0] is meant, Nicholas Marriottpedro2006-06-281-2/+2
|
* mention /var/backups;jmc2004-12-141-2/+5
| | | | ok otto@
* no need for extra param; Mathias@enloco.netderaadt2004-02-161-5/+7
|
* missing protosderaadt2003-07-021-3/+3
|
* Kill clause 3 & 4 on some of my code.weingart2003-06-032-12/+2
|
* ansideraadt2002-07-031-17/+17
|
* major -Wall cleanup, almost completederaadt2001-07-071-3/+3
|
* Small cleanup patch from <mpech@prosoft.org.lv>.weingart2001-01-261-6/+9
| | | | niklas@ ok.
* Change all option list specifications to ".Bl -tag -width Ds". Most manaaron2000-11-091-2/+2
| | | | | pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
* Remove hard sentence breaks, and some other cleanup along the way.aaron2000-03-181-19/+29
|
* Finish standardizing options list introduction.aaron2000-03-051-2/+2
|
* remove redundant .Pp macrosaaron1999-07-031-2/+1
|
* Some large partition fixesniklas1999-06-081-6/+6
|
* remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonaaron1999-05-231-2/+2
| | | | is used instead; kwesterback@home.com
* always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netaaron1998-12-151-2/+2
|
* more `` '' -> .Dq sillyness; remove redundant .Pp macros; other misc fixesaaron1998-11-111-4/+4
|
* sbin/ man page fixesaaron1998-09-171-2/+2
|
* More man page fixes. Particularly fix uses of it's/its, affect/effect,aaron1998-09-071-3/+3
| | | | | then/than and such. Other miscellaneous problems fixed across these source files.
* use Xr more oftenderaadt1998-04-281-2/+4
|
* Wallderaadt1998-03-281-2/+5
|
* special -> deviceweingart1998-02-051-2/+2
|
* Add man page. I don't know which revision this one is, I might haveweingart1998-02-052-2/+145
| | | | a newer version of this utility to commit later...
* fix usage stringmillert1998-02-041-2/+2
|
* very handy program that scans a device for filesystems; from niklas & weingart.deraadt1998-02-042-0/+172
Needs a man page, anyone willing?