summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/mkfs.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* With filesystem having many cylinder groups and many inodes per cg theotto2020-06-201-24/+33
* Make generation numbers unsigned and fill them using a random numberotto2020-05-281-6/+6
* Copy ownership/permissions from the mountpoint to FFS2 MFS, as already donesthen2020-05-191-7/+13
* snprintf/vsnprintf return < 0 on error, rather than -1.deraadt2019-07-031-2/+2
* Start writing the size of the cylinder group into the (unused) cpgotto2016-09-011-2/+6
* Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.bentley2016-03-171-5/+7
* malloc(3) returns a pointer, so check against NULL, not 0. (No functional change)gsoares2016-01-281-2/+2
* Use pledge "disklabel" as needed. The theory here is these tools become morederaadt2015-11-231-11/+5
* Prefer dprintf() over snprintf()+write()guenther2015-10-111-4/+2
* <stdlib.h> is included, so do not need to cast result fromderaadt2015-08-201-2/+2
* Convert many atoi() calls to strtonum(), adding range checks and failurederaadt2015-04-181-2/+2
* Better size_t overflow check for mount_mfs. OK miod@millert2015-02-061-3/+4
* Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orderaadt2015-01-201-2/+2
* do not require <a.out.h>deraadt2015-01-181-2/+1
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-8/+13
* Use getrlimit(2) instead of assuming MAXDSIZ is available in userland.otto2014-06-301-3/+7
* Don't include <machine/vmparam.h> directly. Instead, get it with its necessarymiod2014-01-241-2/+1
* add a variety of missing prototypesderaadt2013-11-121-1/+2
* Add missing (long long) cast of variable, (long long) castskrw2013-11-031-2/+2
* Sprinkle (long long) casts where %lld is being used to print daddr_tkrw2013-11-011-6/+7
* Say 'fragments' where fragments are meant. Divide by DEV_BSIZEkrw2013-10-071-3/+3
* Show number of sectors, not the number of 512-byte blocks, whenkrw2013-10-071-2/+3
* daddr_t comment tweak and whitespace fix.krw2013-10-061-3/+3
* final removal of daddr64_t. daddr_t has been 64 bit for a long enoughderaadt2013-06-111-12/+12
* handle large ino_t; ok teduderaadt2013-04-231-2/+3
* fix format stringchl2011-06-051-3/+3
* Allow specifying k/m/g/... suffixes in newfs(8) -S and -s options.dcoppa2011-05-231-4/+4
* compute an estimate of how much memory is needed to fsck_ffs the fsotto2010-03-211-1/+50
* partion -> partition. First one (mkfs.c) noted by Brad Tilley on tech@.krw2009-12-231-2/+2
* Admit b_blkno means block number; a block is DEV_BSIZE (a.k.a.krw2008-08-081-13/+13
* handle 64-bit blkno's in format stringotto2008-01-051-2/+2
* Initialize the first 2 block's worth of inodes for ffs1 as well as ffs2.millert2007-07-071-6/+3
* Enable creation of larger than 1TB FFS2 filesystems. Note that thisotto2007-06-261-4/+7
* remove last instances of daddr_t; ok thib@otto2007-06-101-2/+2
* ufs1_daddr_t cleanup, okay otto@pedro2007-06-011-3/+3
* daddr64_t changes; not fssize is still an int; ok pedro@otto2007-06-011-10/+10
* convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thibderaadt2007-06-011-4/+4
* Updated disklabel format to support larger disks and partitions. Weotto2007-05-291-3/+3
* Now that the amd64 floppy and cd image -c setting have been fixed,otto2007-05-191-18/+14
* backout -c changes; they were not tested on all the media. all newfsderaadt2007-05-191-14/+18
* The unit of the -c options is fragments, so adjust man page andotto2007-05-181-18/+14
* Do a bounds check to see if the inode table fits on the disk.otto2007-05-181-1/+5
* Update CGSIZE macro so that it is no longer based on fs_cpg.millert2007-05-031-7/+3
* Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bitpedro2007-04-231-2/+2
* don't let fpg and spc get out of sync. solves a few cases where newfsotto2007-04-181-3/+4
* Fix merge error; fs_inodefmt was not being set for the ffs2 casemillert2007-04-171-1/+2
* Add support for creating ffs2 filesystems. Note that the conceptmillert2007-04-131-546/+575
* Remove obsolete options for superblock fields that are no longer used.millert2007-04-031-9/+5
* Minor cleanup: remove rcsids, remove #ifdef'd out code, COMPAT ismillert2007-04-031-75/+2
* Modern disks do bad sector replacement themselves. There is nomillert2007-04-021-4/+3