summaryrefslogtreecommitdiff
path: root/sbin/newfs/newfs.c
AgeCommit message (Expand)Author
2023-07-05Revert "newfs(8): Ensure A divides S before aligned_alloc(A, S)."riastradh
2023-07-04newfs(8): Ensure A divides S before aligned_alloc(A, S).riastradh
2022-11-17Restore backward compatibility of UFS2 with previous NetBSD releases bychs
2022-04-16fix various typos in comments and log messages.andvar
2020-04-17align buffers used for I/O to DEV_BSIZE so it's executed more optimallyjdolecek
2017-02-08Add smaller versions of fsck_ffs(8) and newfs(8) for install media, whererin
2016-04-01no need to escaperyo
2015-07-25Handle getfsspecname errors.mlelstv
2014-10-25Support wedge names.mlelstv
2012-06-30Use 32KB/4KB for default block/fragment size on >= 128 GB partitionstsutsui
2012-02-13Remove unused variables.wiz
2011-03-06merge the bouyer-quota2 branch. This adds a new on-disk formatbouyer
2010-08-09Add -G to usage, omission pointed out by wiz. Also, make usage formatpooka
2010-08-09Add -G, which turns consistency check errors in warnings. Thepooka
2009-12-20Push the mount path for mount_mfs through realpath().dsl
2009-05-07Consistently use FFSv1 or FFSv2lukem
2009-04-11fix sign-compare issueslukem
2009-04-03Issue a better error message if attempting to create a file systempooka
2008-08-01Handle 't' suffix for terabytes for number arguments.simonb
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2007-12-15convert __attribute__s to applicable cdefs.h macrosperry
2007-07-16Make all mount(2) return value error checks against -1. Some filepooka
2007-07-14Add additional 'sizeof args' parameter to mount(2).dsl
2007-04-28PR/36229: Geoff Wing: uninitialized dkwedge_info structure in mount_mfschristos
2006-11-25PR/28884: Izumi Tsutsui: mount_mfs(8) doesn't set default fssize if "swap" ischristos
2006-10-16c99 initializers.christos
2006-08-27Make the "traditional" comment match reality.christos
2006-08-27Don't hard-code 3. From our secret user.christos
2006-08-26- Deal with wedges and the new disk geometry structures, instead of usingchristos
2006-05-04Since MNT_GETARGS is not allowed when any other flags are set, don't setchristos
2006-03-21Always check the results of getmntopts() and free them.christos
2006-01-16Add '-V' to usage output.dsl
2006-01-15Add a '-V verbose' option that controls the amount of info writen to stdout.dsl
2005-11-28Include the size we are trying to create in the 'partition to small'dsl
2005-09-23Apply the NFS exports list rototill patch:jmmv
2004-11-15Add a cast to unsigned char when using a ctype function/macro.he
2004-09-07fix typolukem
2004-06-25Remove last traces of -c, for which the code was removedwiz
2004-04-21Replace the statfs() family of system calls with statvfs().christos
2004-03-18Simplify logic for MNT_GETARGS and MNT_UPDATE of mfs filesystems.dsl
2004-03-07Re-instate the old behaviour where 'mount_mfs device mount_pt' woulddsl
2004-03-07Make update mounts (to change miniroot ramdisks to rw) take the same shortdsl
2003-12-22Fix typo: numder -> number. From Christian Biere in PR bin/23838.jmmv
2003-12-11If a disktype was specified, use the disktab informationdrochner
2003-11-01KNF: sort includes.wiz
2003-11-01Use fstat(2) to get the partition size (falling back to the label on olddsl
2003-10-15initialize llsize and llsizemult to 0dbj
2003-10-10Sync look of -V description in usage with other option descriptions.wiz
2003-10-10Add -V flag for use with Vinum to indicate that the last character ofgrog
2003-10-09calculate "-s size" values after sectorsize has been fully determineddbj