summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/utilities.c
AgeCommit message (Expand)Author
2015-10-15fsck_ffs has a ^T signal handler which opens /dev/tty late. Hoist thatTheo de Raadt
2015-09-05snprintf+write --> dprintfPhilip Guenther
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-09-06inodesc.id_entryno holds a file size, so upgrade it from int to u_int64_t;Philip Guenther
2014-05-24Use consistent format specifiers (%lld) and casts (long long) whenKenneth R Westerback
2014-05-21Nuke 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-09Fix '-b' option to work with the superblock locations output by newfsKenneth R Westerback
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
2011-04-24remove support for (very) old ffs on-disk formats; ok krw@ and noOtto Moerbeek
2011-04-16Blend in some code from netbsd and freebsd that reduces memory consumptionOtto Moerbeek
2009-12-10do not leak memory, found by parfait, ok millert ottoTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-06-10reduce mem usage by about 20% by packing state and type of an inode in a singleOtto Moerbeek
2007-06-25Teach fsck_ffs about 64-bit block addresses. ok (and help) moritz@ pedro@Otto Moerbeek
2007-04-10Add support for checking ffs2 filesystems. From pedro@ based onTodd C. Miller
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
2007-02-13"Fix" a horrible signal handler. ckfini() breaks all the rules forOtto Moerbeek
2006-04-17more signal handler cleaningTheo de Raadt
2006-04-17solve half of the signal race issuesTheo de Raadt
2006-04-17prettier code; ok pedroTheo de Raadt
2006-04-07fsck needs to unset FS_FLAGS_UPDATED if it changes the super blockPedro Martelletto
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-03-30when asking y or n, accept "F" which forces yes from the on. i haveTheo de Raadt
2006-03-22earlier asprintf diff caused malloc in signal handler. clarify theTheo de Raadt
2006-03-20NetBSD Coverity CID 2074: Fix memory leak.David Hill
2006-03-12use asprintf instead of a static buffer; dhill, tested by pedroTheo de Raadt
2006-01-25spell fall through as FALLTHROUGHTed Unangst
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-26string cleaning; ok teduTheo de Raadt
2002-08-23- Convert function definitions to new styleGrigoriy Orlov
2002-08-20clean some more signal races, some cannot be fixedTheo de Raadt
2002-02-23getc() returns an intTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-05kill more registers;Mike Pechkin
2001-04-13Fix overflow in superblock. From FreeBSD.Grigoriy Orlov
2001-03-02Make fsck aware of soft updates.Artur Grabowski
2001-01-19mark signal races i cannot fix at the momentTheo de Raadt
2001-01-15save_errno in signal handlerTheo de Raadt
2000-09-30Some format string problems that were missed during initial audit; deraadt@ andAaron Campbell
1999-03-01SIGINFO supportDavid Leonard
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-06-25(foo *)0 -> NULLkstailey
1996-10-20Sync with NetBSD 961019Thorsten Lockert
1996-06-23update rcsidTheo de Raadt