summaryrefslogtreecommitdiff
path: root/sbin/growfs/growfs.c
AgeCommit message (Expand)Author
2016-05-28Give growfs a chance to error out with ENOTTY before pledging disklabel.Theo Buehler
2016-03-17Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.Anthony J. Bentley
2016-01-29Therefor -> Therefore (where appropriate)tb
2015-11-28hoist TIOCGWINSZ code upwards, and pledge "stdio disklabel" at theTheo de Raadt
2015-11-27spacesTheo de Raadt
2015-11-23Remove the debugging infrastructure, which was ~1/3 of the code. Makesmmcc
2015-11-20De-justify more comments. From FreeBSD.mmcc
2015-11-20Monospace comments are not meant to be justified. From FreeBSD.mmcc
2015-11-19Remove some weird comments containing only the name of the next function.mmcc
2015-11-19Don't bother casting memset() argument to void*. No binary change.mmcc
2015-11-19calloc((size_t)1, ...) -> calloc(1, ...)mmcc
2015-08-20<stdlib.h> is included, so do not need to cast result fromTheo de Raadt
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
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-05-15- typo in commentCharles Longeau
2014-05-05"new file systemsize is" -> "new filesystem size is".Kenneth R Westerback
2014-04-30Write last disk sector, not last 512-byte block, when testing validityKenneth R Westerback
2013-11-10Don't use p_size as if it was the full partition size, and don'tKenneth R Westerback
2013-11-09Replace (int) = (size_t)(long) with (long long) = (long long) by replacingKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-04-23handle large ino_t; ok teduTheo de Raadt
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-04-01Don't be picky about character case when checking response.Jonathan Gray
2008-12-24fox format string; ok tedu@Otto Moerbeek
2008-11-28Make growfs refuse to run on a dirty filesystem, and set the filesystem toChris Kuethe
2008-06-24Index: src/sbin/growfs/growfs.cIgor Sobrado
2007-10-05check fgets return valueCharles Longeau
2007-09-02more malloc(n * m) -> calloc(n, m); from Igor ZinovikTheo de Raadt
2007-07-07Pull in ffs2 support and other updates from FreeBSD. OK deraadt@Todd C. Miller
2007-06-01ufs_daddr_t is a dead type. growfs is the only program that uses it, yetTheo de Raadt
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
2007-04-23Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bitPedro Martelletto
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-03-31Super block changes for FFS2, thanks to all who tested.Pedro Martelletto
2006-01-14Add a -q flag to reduce output a la newfs, and print the raw device we areMiod Vallat
2005-12-19Add and use a few more constants and macros needed by UFS2Pedro Martelletto
2005-04-14handle snprintf out of range conditions; otto okTheo de Raadt
2004-03-15some small knfTheo de Raadt
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-10-28better partition finding. instead of groveling around looking forTed Unangst
2003-10-26fix partition selection to allow all partitions to be grown.Ted Unangst
2003-10-14getopt() returns int not char. ok pvalchev@Dale Rahn
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
2003-08-16more errx/warnx style \n errors; tom.cosgrove@arches-consulting.comTheo de Raadt
2003-08-07add missing tags and make this compile with debug.Federico G. Schwindt
2003-08-04spelling, freebsd pr50979 via khalek on ircTed Unangst
2003-07-29more prettyTed Unangst