summaryrefslogtreecommitdiff
path: root/sbin/newfs/newfs.c
AgeCommit message (Expand)Author
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-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
2007-11-26revised diff that handles the no mfs parts correctlyTed Unangst
2007-11-25when running as newfs, there is no argv[1].. backout previousTheo de Raadt
2007-11-25Iruata Souza sent a diff that fixes weird occurences when mounting withTed Unangst
2007-11-05forgotten arg to printf, Tobias UlmerOtto Moerbeek
2007-06-26Enable creation of larger than 1TB FFS2 filesystems. Note that thisOtto Moerbeek
2007-06-10remove last instances of daddr_t; ok thib@Otto Moerbeek
2007-06-01ufs1_daddr_t cleanup, okay otto@Pedro Martelletto
2007-06-01convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thibTheo de Raadt
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
2007-05-20Update usage wrt -c option when called as mount_mfs.Todd C. Miller
2007-05-19Now that the amd64 floppy and cd image -c setting have been fixed,Otto Moerbeek
2007-05-19backout -c changes; they were not tested on all the media. all newfsTheo de Raadt
2007-05-18The unit of the -c options is fragments, so adjust man page andOtto Moerbeek
2007-05-15Make usage declaration match prototype; Make it __dead also.Thordur I. Bjornsson
2007-04-13Missing bit in last commit, remove -z for getopt string.Todd C. Miller
2007-04-13cut the verbosity from usage() and instead print a synopsis,Jason McIntyre
2007-04-13Add support for creating ffs2 filesystems. Note that the conceptTodd C. Miller
2007-04-03Use strtonum(), not atoi(). OK deraadt, with help from otto@Todd C. Miller
2007-04-03Remove obsolete options for superblock fields that are no longer used.Todd C. Miller
2007-04-03Minor cleanup: remove rcsids, remove #ifdef'd out code, COMPAT isTodd C. Miller
2007-04-02Modern disks do bad sector replacement themselves. There is noTodd C. Miller
2006-03-09Remove option -n from newfs as well as all references to fs_postbl()Pedro Martelletto
2005-10-28Make it possible to use -P on readonly memory filesystems. FromOtto Moerbeek
2004-08-12Prevent core dump on large block sizes by checking block size againstOtto Moerbeek
2004-07-02Take TMPDIR into account when creating a temp mountpoint for populating.Otto Moerbeek
2004-06-26For all the mfs lovers:Otto Moerbeek
2003-11-03NULL for NULL pointers, not 0Ted Unangst
2003-11-03combine ugly printf(), exit() combo statements into err() or errx().Ted Unangst
2003-10-07better guess for ncyls. allows chuck yerkes to make small file systems again.Ted Unangst
2003-07-16remove default limit of 16 cylinders per group. it's now set toTed Unangst
2003-07-02missing protosTheo de Raadt
2003-06-25proto repairsTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-10boring cleanupsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-03The 'memleft' calcuations assume that the data address starts atTodd C. Miller
2003-04-16fix race between mount(2) and exit(2) for mount_mfs.Markus Friedl
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-05-06Use the default calculation of maxcontig, based on fs_bsize and MAXPHYS, soTodd C. Miller
2002-04-23In mount.h, rename field export -> export_info, to avoid collision with C++.Marc Espie
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller