summaryrefslogtreecommitdiff
path: root/sbin/newfs/mkfs.c
AgeCommit message (Expand)Author
2007-05-03Update CGSIZE macro so that it is no longer based on fs_cpg.Todd C. Miller
2007-04-23Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bitPedro Martelletto
2007-04-18don't let fpg and spc get out of sync. solves a few cases where newfsOtto Moerbeek
2007-04-17Fix merge error; fs_inodefmt was not being set for the ffs2 caseTodd C. Miller
2007-04-13Add support for creating ffs2 filesystems. Note that the conceptTodd 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
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
2006-03-09Remove option -n from newfs as well as all references to fs_postbl()Pedro Martelletto
2005-12-19Add and use a few more constants and macros needed by UFS2Pedro Martelletto
2005-08-08More informative error message when trying to create a filesystemOtto Moerbeek
2005-04-14handle snprintf out of range conditions; otto okTheo de Raadt
2005-01-06validate mfs size to avoid wrapping. ok miod@Otto Moerbeek
2004-10-14Do not generate either a too large super block or a negative numberOtto Moerbeek
2004-09-10Bail out on errors when making very small filesystems. ok deraadt@Otto Moerbeek
2004-08-12Prevent core dump on large block sizes by checking block size againstOtto Moerbeek
2004-07-06delint: offset arg to mmap is off_t and remove dead codeOtto Moerbeek
2004-06-26For all the mfs lovers:Otto Moerbeek
2004-06-22acg.cg_nextfreeoff is already relative to &acg so don't subtractTodd C. Miller
2004-05-13provide a siginfo handler for -q run; idea from art's todo; millert@ okMichael Shalayeff
2004-01-13quiet warnings. better diff suggested by tom@ ok deraadt@Ted Unangst
2003-12-05madvise() the mfs storage area as randomly accessed as mfs does it's own clus...Michael Shalayeff
2003-11-06don't write magic until the file system is really done. preventsTed Unangst
2003-11-03NULL for NULL pointers, not 0Ted Unangst
2003-11-03combine ugly printf(), exit() combo statements into err() or errx().Ted Unangst
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed 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-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-06remove FSIRAND define and make it non-optional. ok millert@Ted Unangst
2003-05-06after switch to mmap, we need to zero other malloc'd data. use calloc.Ted Unangst
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-02-19Use pread/pwrite where sensible; also remove some bogus casts inTodd C. Miller
2002-06-09rm trailing whitespaceTodd T. Fries
2002-05-29more snprintfTheo de Raadt
2001-11-05kill more registers;Mike Pechkin
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-04-19Cleanup dirpref and synhronize superblock with freebsd.Grigoriy Orlov
2001-04-13Fix overflow in superblock. From FreeBSD.Grigoriy Orlov
2001-04-04bye bye -U (soft updates).Grigoriy Orlov
2001-01-16_exit() in signal handlerTheo de Raadt
2000-09-22If a cylinder group won't fit inside of one block, adjust secpercylTodd C. Miller
1999-12-03Allow enabling soft updates (with -U) on a new filesystem.Artur Grabowski
1999-04-10Add -q flag to newfs and use it in the installTodd C. Miller
1997-11-17Work around a stackframe bug in gcc alpha, who cannot deal with frames > 64kNiklas Hallqvist
1997-06-03Make mkfs.c malloc its large buffers, which saves about 200K of bss sizegrr