summaryrefslogtreecommitdiffstats
path: root/sbin/growfs
AgeCommit message (Expand)AuthorFilesLines
2020-06-20With filesystem having many cylinder groups and many inodes per cg theotto1-39/+41
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.deraadt1-2/+2
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-7/+7
2017-10-17add missing HISTORY; based on CVS logs and release announcementsschwarze1-3/+5
2017-07-09remove redundant variable declarations in Makefiles, since those areespie1-2/+1
2016-05-28Give growfs a chance to error out with ENOTTY before pledging disklabel.tb1-4/+4
2016-03-17simplify previous; ok bentleyjmc1-2/+1
2016-03-17missing El in previous;jmc1-1/+2
2016-03-17Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.bentley2-11/+18
2016-01-29Therefor -> Therefore (where appropriate)tb1-2/+2
2015-11-28hoist TIOCGWINSZ code upwards, and pledge "stdio disklabel" at thederaadt1-4/+9
2015-11-27spacesderaadt1-8/+8
2015-11-23Remove the debugging infrastructure, which was ~1/3 of the code. Makesmmcc4-1246/+15
2015-11-23Remove more useless comments. This whole file may go eventually, as permmcc1-19/+1
2015-11-20De-justify more comments. From FreeBSD.mmcc1-11/+11
2015-11-20Monospace comments are not meant to be justified. From FreeBSD.mmcc1-13/+13
2015-11-19Remove some weird comments containing only the name of the next function.mmcc1-24/+1
2015-11-19Don't bother casting memset() argument to void*. No binary change.mmcc1-2/+2
2015-11-19calloc((size_t)1, ...) -> calloc(1, ...)mmcc1-2/+2
2015-08-20<stdlib.h> is included, so do not need to cast result fromderaadt1-3/+3
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failurederaadt1-2/+2
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 wherederaadt2-12/+18
2014-05-24Break annoyingly long line that keeps popping up in diffs.krw1-2/+3
2014-05-15- typo in commentchl1-5/+4
2014-05-05"new file systemsize is" -> "new filesystem size is".krw1-2/+2
2014-04-30Write last disk sector, not last 512-byte block, when testing validitykrw1-6/+10
2013-11-10Don't use p_size as if it was the full partition size, and don'tkrw1-9/+9
2013-11-09Replace (int) = (size_t)(long) with (long long) = (long long) by replacingkrw1-5/+6
2013-10-19fix obvious .An formatting errorsschwarze1-3/+7
2013-07-16Add missing .Mt macros for AUTHORS email addresses.schwarze1-5/+5
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughderaadt2-41/+41
2013-04-23handle large ino_t; ok teduderaadt1-3/+5
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisdlg1-1/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2-14/+2
2009-04-01Don't be picky about character case when checking response.jsg1-2/+2
2008-12-24fox format string; ok tedu@otto1-2/+2
2008-11-28Make growfs refuse to run on a dirty filesystem, and set the filesystem tockuethe2-6/+8
2008-06-24Index: src/sbin/growfs/growfs.csobrado1-2/+2
2007-10-05check fgets return valuechl1-3/+3
2007-09-02more malloc(n * m) -> calloc(n, m); from Igor Zinovikderaadt1-3/+3
2007-07-17remove m68k gcc workaround now that the gcc fix is in; ok miod@millert1-4/+1
2007-07-09disable specific gcc optimization that triggers the gcc bugmillert1-2/+2
2007-07-09Use -O1 for m68k to work around a gcc optimizer bugmillert1-1/+4
2007-07-09remove -Wallmillert1-2/+2
2007-07-07Pull in ffs2 support and other updates from FreeBSD. OK deraadt@millert4-774/+965
2007-06-01ufs_daddr_t is a dead type. growfs is the only program that uses it, yetderaadt2-32/+32
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-29Updated disklabel format to support larger disks and partitions. Weotto1-4/+4
2007-04-23Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bitpedro1-3/+3