#
c9112980 |
| 24-Sep-2018 |
deraadt <deraadt@openbsd.org> |
Use unveil(2). These programs fit together in various strange ways, so if a problem is encountered with this the whole set needs backout and study.
|
#
76953227 |
| 28-May-2016 |
tb <tb@openbsd.org> |
Another misplaced pledge disklabel that needs to be removed because of a DIOCGPDINFO that could be applied to a non-disk and thus cause a crash. After that ioctl, the program continues with pledge "
Another misplaced pledge disklabel that needs to be removed because of a DIOCGPDINFO that could be applied to a non-disk and thus cause a crash. After that ioctl, the program continues with pledge "stdio".
ok beck semarie
show more ...
|
#
e384f6ef |
| 23-Nov-2015 |
deraadt <deraadt@openbsd.org> |
Use pledge "disklabel" as needed. The theory here is these tools become more resistant against memory correctup, if a corrupt filesystem is given to them. ok krw
|
#
fd4c6d5d |
| 14-Oct-2015 |
deraadt <deraadt@openbsd.org> |
Only accept one filesystem/device as argument for checking. Few people will be calling these directly, and not for the multiple filesystem case. fsck(8) is generally the parent and will handle thing
Only accept one filesystem/device as argument for checking. Few people will be calling these directly, and not for the multiple filesystem case. fsck(8) is generally the parent and will handle things. ok semarie; this change will also help a goal jsing has
show more ...
|
#
8c63c132 |
| 27-Sep-2015 |
guenther <guenther@openbsd.org> |
Mark ask() as printf-like; split up a pwarn() with variable number of specifiers
ok beck@ millert@
|
#
14e30480 |
| 16-Jun-2014 |
tobias <tobias@openbsd.org> |
Merge NetBSD commit: Move to 2 clause license, approved by Wolfgang Solfrank.
ok deraadt@, krw@
|
#
98fba8a9 |
| 31-Mar-2012 |
krw <krw@openbsd.org> |
Make fsck_msdos work with non-512-byte sector devices. Problem noted by and fixes tested by Alexey Vatchenko.
Add a bunch of tests and error messages so whatever media/devices this breaks will be mo
Make fsck_msdos work with non-512-byte sector devices. Problem noted by and fixes tested by Alexey Vatchenko.
Add a bunch of tests and error messages so whatever media/devices this breaks will be more easily fixed.
Ignore invalid signatures since we have other checks and many media have missing signatures.
Use character device to read disk even when called directly.
show more ...
|
#
e729ad4a |
| 12-Aug-2010 |
jsing <jsing@openbsd.org> |
Print the real device name followed by the disklabel UID in parenthesis when fsck is run against a disklabel UID. This allows a user to determine which device is really being scanned.
ok krw@
|
#
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (th
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
show more ...
|
#
daaa95b6 |
| 30-Mar-2006 |
deraadt <deraadt@openbsd.org> |
when asking y or n, accept "F" which forces yes from the on. i have wished for this for 10+ year, but always forgotten to make the change after cleaning up a nasty file system; ok pedro millert
|
#
f36f6633 |
| 03-Feb-2005 |
jaredy <jaredy@openbsd.org> |
sync usage output
|
#
4e95fccf |
| 17-Jul-2004 |
deraadt <deraadt@openbsd.org> |
some ansi; khalek@linuxgamers.net
|
#
e7beb4a7 |
| 19-Feb-2002 |
millert <millert@openbsd.org> |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
|
#
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
show more ...
|
#
24766c54 |
| 05-Sep-2001 |
deraadt <deraadt@openbsd.org> |
make sure that va_start() has matching va_end()
|
#
2fa27f3c |
| 22-Jan-2000 |
deraadt <deraadt@openbsd.org> |
remove extra externs not needed because of unistd.h (rest of tree will be done later.. contact me if you want to help)
|
#
f8629afc |
| 25-Jul-1997 |
mickey <mickey@openbsd.org> |
#if __STDC__ --> #ifdef __STDC__
|
#
a0dbeb59 |
| 02-Mar-1997 |
millert <millert@openbsd.org> |
Update based on latest NetBSD version. Now uses functions from util.[ch] instead of local ones. Also some anal KNF from me...
|
#
5ebc88fa |
| 28-Feb-1997 |
millert <millert@openbsd.org> |
Add -f to getopt() -- that'll teach me to test first.
|
#
82a46588 |
| 28-Feb-1997 |
millert <millert@openbsd.org> |
Silently ignore -f so that "fsck -f" works if you have an msdos partition listed in fstab.
|
#
72799b18 |
| 15-Jan-1997 |
millert <millert@openbsd.org> |
getopt(3) returns -1 when out of args, not EOF, whee!
|
#
7b91b0e0 |
| 23-Jun-1996 |
deraadt <deraadt@openbsd.org> |
update rcsid
|
#
2a4cde9c |
| 10-Jun-1996 |
deraadt <deraadt@openbsd.org> |
from ws; Check return values of malloc Generate full pathnames only on request Minor cleanup, RCS Ids in .h files Don't allocate data structures for non-directories Free any data structures when fini
from ws; Check return values of malloc Generate full pathnames only on request Minor cleanup, RCS Ids in .h files Don't allocate data structures for non-directories Free any data structures when finishing a check (at the latest)
show more ...
|
#
9646ab25 |
| 22-May-1996 |
deraadt <deraadt@openbsd.org> |
add fsck_msdos
|