summaryrefslogtreecommitdiff
path: root/sbin/newfs
AgeCommit message (Expand)Author
2015-09-29Delete the final, inscrutable NOSTRICT and VARARGS lint commentsPhilip Guenther
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-02-06Better size_t overflow check for mount_mfs. OK miod@Todd C. Miller
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orTheo de Raadt
2015-01-18do not require <a.out.h>Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-08-29mount_mfs does not require disklabel to be run;Jason McIntyre
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
2014-07-20Mark fatal() as printf-like.Philip Guenther
2014-06-30Use getrlimit(2) instead of assuming MAXDSIZ is available in userland.Otto Moerbeek
2014-01-24Don't include <machine/vmparam.h> directly. Instead, get it with its necessaryMiod Vallat
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
2013-11-12add a variety of missing prototypesTheo de Raadt
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback
2013-11-03Add missing (long long) cast of variable, (long long) castsKenneth R Westerback
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
2013-10-07Say 'fragments' where fragments are meant. Divide by DEV_BSIZEKenneth R Westerback
2013-10-07Show number of sectors, not the number of 512-byte blocks, whenKenneth R Westerback
2013-10-07Oops. Too mechanical -- can't use DL_SECTOBLK() to set fssize, sinceKenneth R Westerback
2013-10-06daddr_t tweaks. %lld -> %llu, intermediate disk sector calculationKenneth R Westerback
2013-10-06daddr_t comment tweak and whitespace fix.Kenneth 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
2011-06-05fix format stringCharles Longeau
2011-05-23Allow specifying k/m/g/... suffixes in newfs(8) -S and -s options.David Coppa
2011-04-26setrlimit only if mfs; ok millert@Otto Moerbeek
2011-03-31these days, newfs creates one inode per 4 fragments, rather than one per 8KB,Stuart Henderson
2010-12-13stray tabMarco Peereboom
2010-07-24mount -f doesn't help mfs, but it doesn't hurt, so stop warning about it.Ted Unangst
2010-07-02garbage collect an unused variableTheo de Raadt
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-05-03Switch newfs to opendev(3) - this simplies the code and will allow it toJoel Sing
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
2010-03-21compute an estimate of how much memory is needed to fsck_ffs the fsOtto Moerbeek
2010-03-21document -b and -f get their defaults from the disklabel; ok jmc@Otto Moerbeek
2010-03-20wee tweak;Jason McIntyre
2010-03-20Make FFS2 the default format for file systems larger than INT_MAXKenneth R Westerback
2009-12-23partion -> partition. First one (mkfs.c) noted by Brad Tilley on tech@.Kenneth R Westerback
2008-08-08Admit b_blkno means block number; a block is DEV_BSIZE (a.k.a.Kenneth R Westerback
2008-08-04refuse to run on block devices; prompted by marco; ok marco@ millert@Otto Moerbeek
2008-08-03spread the unwritten wisdom newfs should be run on raw devs, not onOtto Moerbeek
2008-07-06Don't change the size of the partition being newfs'd when sectorsize,Kenneth R Westerback
2008-06-27documentation tweak.Igor Sobrado
2008-06-24- move -S and -t into the main option descriptions: they were the onlyJason McIntyre
2008-06-04warnx already prepends string with a colon, no need to manually add oneTobias Stoeckmann
2008-01-29More read/write result checking fixes to avoid unsigned comparisons vsKenneth R Westerback
2008-01-15s/fragements/fragments/ in usage().Stuart Henderson
2008-01-12document the max size of FFS and FFS2 file systems plus some rewording;Otto Moerbeek
2008-01-05handle 64-bit blkno's in format stringOtto Moerbeek