summaryrefslogtreecommitdiff
path: root/usr.sbin/makefs/ffs.c
AgeCommit message (Expand)Author
2013-06-23fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()dholland
2013-06-19Rename ambiguous macros:dholland
2013-06-09Stick UFS_ in front of these symbols:dholland
2013-02-03- more changes to make -O workchristos
2013-01-30- don't abuse vp->fs to mean struct fs for ffs and struct msdos_opts;christos
2013-01-30gc global sectorsize.christos
2013-01-29make everything use the generic options parser.christos
2013-01-28- use emalloc and friendschristos
2013-01-27This works well enough to populate plain files in the root dir. creatingchristos
2013-01-26make the buffer functions look exactly like the kernel ones and add otherchristos
2013-01-24- Fix single letter option parsing.christos
2013-01-23return the bit of the option set, so that others can act on it.christos
2013-01-23remove duplicated code, and try to cleanup parsing by using the shared code.christos
2013-01-23- add support for parsing different types; not just int.christos
2013-01-22Stuff UFS_ in front of a few of ufs's symbols to reduce namespacedholland
2012-06-22Add -Z to enable sparse files - for ffs at least.sjg
2012-04-19WARNS=5christos
2012-01-28Patch from Jung-uk Kim (jkim at FreeBSD dot org) to allow contents of multiplechristos
2011-10-09add support for setting the ufs label. (Nathan Whitehorn)christos
2009-04-28Create images with 0666 - umask, not 0777 - umask (e.g. without x bits).joerg
2009-04-16Distinguish read(2) failure due to a short read from other causes, anddyoung
2006-12-18from Anon Ymous: compile with -Wextrachristos
2006-10-22use c99 initializerschristos
2006-10-10implement -x by pruning fsnodes tree before building filesystem ratherdbj
2006-04-22Coverity CID 174: Add extra NULL test to appease coverity.christos
2006-03-18free buf on error pathrtr
2005-10-23Use the real field name (d_fileno instead of d_ino).thorpej
2005-08-20fix compilatio problems on LP64kent
2005-08-13Fix a sign warning for WARNS=3.fvdl
2005-06-02appease gcc -Wuninitializedlukem
2004-12-20Refactor the filesystem specific portions out of makefs.c/makefs.h completely.jmc
2004-10-12Check for fstatvfs and provide/use it only if the host system has it.jmc
2004-07-24include <sys/statvfs.h> if HAVE_STRUCT_STATVFS_F_IOSIZEdbj
2004-06-24Define FFS_MAXBSIZE to 65536 and use instead of MAXBSIZE.lukem
2004-06-20Completely rework how tools/compat is done. Purge all uses/references tojmc
2004-04-26Allow for ROOTINO when deciding whether their are enough inodes in thedsl
2004-04-21Replace the statfs() family of system calls with statvfs().christos
2004-04-02After populating the file system, update superblock->fs_old_cstotal fromlukem
2003-10-26Mention that we should be adding space for bitmaps.mycroft
2003-10-26Remove a strange multiplication which appears to be incorrect.mycroft
2003-09-19realloc pedantitojun
2003-09-07Revert arc4random usage. makefs is only used for install images,fvdl
2003-09-06use arc4randomitojun
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-04-02Add support for UFS2. UFS2 is an enhanced FFS, adding support forfvdl
2003-03-30Tweak Jason's -x support to pass its state around as part of fsinf_t,lukem
2003-03-29Add a -x option which causes makefs(8) to exclude any file system nodethorpej
2003-01-24Bump daddr_t to 64 bits. Replace it with int32_t in all places wherefvdl
2002-05-30d_namlen is a uint8_t, and thus will always be < MAXMANLEN + 1 (256),thorpej
2002-02-15- Clear fs_fmod in superblock before final write. Noted by Erik Anggard.lukem