summaryrefslogtreecommitdiffstats
path: root/sbin/newfs
AgeCommit message (Expand)AuthorFilesLines
2020-06-20With filesystem having many cylinder groups and many inodes per cg theotto1-24/+33
2020-05-28Make generation numbers unsigned and fill them using a random numberotto1-6/+6
2020-05-19Move back to FFS1 by default for MFS as suggested by millert@. OK otto@sthen1-2/+2
2020-05-19Copy ownership/permissions from the mountpoint to FFS2 MFS, as already donesthen1-7/+13
2020-05-18Make ffs2 the default for newfs; change all calls to create e.g. floppyotto2-7/+6
2020-01-16Usually, -width Fl (which is 10n) is too wide and hence ugly.schwarze1-3/+3
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-11/+11
2019-04-23missing dots after ".%P pp"; the case of btree(3) wasschwarze1-3/+3
2018-11-25Remove (unused) FS_BOOT training wheels. If you are allowed to newfs akrw1-4/+1
2018-03-10Avoid a race when populating an mfs fs by using a tmp dir and splitotto1-55/+67
2016-10-11Enable the noperm option for mount_mfs. mfs is ffs in sheeps clothing,natano1-1/+4
2016-09-01Start writing the size of the cylinder group into the (unused) cpgotto1-2/+6
2016-07-25Revert change to density calculation. David Vasek points out thiskrw1-2/+2
2016-07-23At n2k16 David Vasek pointed out that FFS partitions on 4K disks arekrw1-2/+2
2016-05-31permit wxallowed on mfsderaadt1-1/+2
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-2/+1
2016-03-17simplify previous; ok bentleyjmc1-2/+1
2016-03-17Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.bentley2-7/+19
2016-03-09We are done providing support for the vax.deraadt1-39/+1
2016-02-18TMPDIR is no longer supported;jmc1-10/+2
2016-01-28malloc(3) returns a pointer, so check against NULL, not 0. (No functional change)gsoares1-2/+2
2015-12-06Avoid out of boundary access on illegal command line arguments.tobias1-7/+9
2015-11-25We can't make a pledge if we're mount_mfs(8) as we need the ability to callkettenis1-3/+5
2015-11-23Use pledge "disklabel" as needed. The theory here is these tools become morederaadt2-11/+21
2015-11-21remove mlinks for aliases: ntalkd, mfs, updatedbjmc1-2/+2
2015-11-10newfs does not need TMPDIR supportderaadt1-6/+2
2015-10-11Prefer dprintf() over snprintf()+write()guenther1-4/+2
2015-09-29Delete the final, inscrutable NOSTRICT and VARARGS lint commentsguenther1-2/+1
2015-08-20<stdlib.h> is included, so do not need to cast result fromderaadt1-2/+2
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failurederaadt1-2/+2
2015-02-06Better size_t overflow check for mount_mfs. OK miod@millert1-3/+4
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orderaadt2-4/+4
2015-01-18do not require <a.out.h>deraadt1-2/+1
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2-14/+23
2014-08-29mount_mfs does not require disklabel to be run;jmc1-5/+3
2014-07-20Make sure the correct errno is reported by warn* or err* and notguenther1-2/+3
2014-07-20Mark fatal() as printf-like.guenther1-5/+6
2014-06-30Use getrlimit(2) instead of assuming MAXDSIZ is available in userland.otto1-3/+7
2014-01-24Don't include <machine/vmparam.h> directly. Instead, get it with its necessarymiod1-2/+1
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.deraadt1-5/+5
2013-11-12add a variety of missing prototypesderaadt1-1/+2
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withkrw1-2/+2
2013-11-03Add missing (long long) cast of variable, (long long) castskrw1-2/+2
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tkrw1-6/+7
2013-10-07Say 'fragments' where fragments are meant. Divide by DEV_BSIZEkrw1-3/+3
2013-10-07Show number of sectors, not the number of 512-byte blocks, whenkrw1-2/+3
2013-10-07Oops. Too mechanical -- can't use DL_SECTOBLK() to set fssize, sincekrw1-2/+3
2013-10-06daddr_t tweaks. %lld -> %llu, intermediate disk sector calculationkrw1-11/+12
2013-10-06daddr_t comment tweak and whitespace fix.krw1-3/+3