summaryrefslogtreecommitdiff
path: root/usr.sbin/makefs
AgeCommit message (Collapse)Author
2013-12-19long_ad is a mix of struct and union, so use memset to initialise in thejoerg
one place it is used.
2013-12-19initialize dummy_refchristos
2013-10-24Now that tools/compat/compat_defs.h defones __USE, there's noapb
need to treat the tools build as a special case.
2013-10-19avoid using __USE() in the tools version of this.mrg
2013-10-19fix unused variable warnings.christos
2013-08-14when building as a tool, only use struct tm tm_gmtoff if ↵jmcneill
HAVE_STRUCT_TM_TM_GMTOFF is defined -- fixes cygwin build
2013-08-09Fix possible 32 bit issues. In practice hard to reach but better be safe thanreinoud
sorry.
2013-08-09Oops, used size_t when off_t was meant. This results in the 4G file sizereinoud
modulation seen on 32 bit machines due to size_t being 32 bit there. While here, also fix compilation errors he@ discovered while compiling on NetBSD/vax.
2013-08-06New sentence, new line.wiz
Use one list instead of two consecutive ones. Add .El to end list.
2013-08-06Switch back program version to the version of the newfs_udf/makefs code.reinoud
While here, visit the 80 columns police :)
2013-08-06Add minimum UDF version specification to makefs(8) -t udf.reinoud
2013-08-06Allow for the logical volume label to be specified as well as the physicalreinoud
volume label. Also allow the volumeset name to be specified if desired. The syntax follows the newfs_udf(8) syntax.
2013-08-06New sentence, new line.wiz
2013-08-06Update makefs(8) man page to reflect the selection of default sector and discreinoud
sizes based on the disc type.
2013-08-06Implement auto-setting of sector size and disc size when specifyingreinoud
-oT=<devtype> to one of the supported disk types. While here, also fix where the -s size argument would be overriden by the calculated size.
2013-08-06Fix assert() on allocation type by masking it with the flag allocation bitreinoud
mask. Fixes internal allocation writing in nodes with suid/sgid/sticky accessnode.
2013-08-06Fix memory leaks found by Coverity and fix memoryleaks in the new codereinoud
2013-08-05Note that i added the UDF support to makefs(8) and bump datareinoud
2013-08-05Cleanup makefile for makefsreinoud
2013-08-05Revert joergs patch and make it compile in both the normal as in the toolsreinoud
environment by providing the MMC datastructures separately for compat.
2013-08-05Allow building UDF parts of makefs on !NetBSD.joerg
2013-08-05Make memset() usage consequent in using the right typesreinoud
2013-08-05Sort. Improve table formatting.wiz
2013-08-05Implement `makefs -t udf'.reinoud
Formatting options may be enhanced to make it more in line with newfs_udf on say labeling.
2013-07-30`makefs -t cd9660' fix from FreeBSD:reinoud
Submitted by: Thomas Schmitt via marius@freebsd.org Obtained from: FreeBSD r253707 - Correctly set the Expiration Time in the Primary Volume Descriptor; according to ISO 9660 8.4.26.1 unspecified date and time are denoted by the digit 0 in RBP 1 to 16 but the number 0 in RBP 17. - Rock Ridge TF entries should use a length of 5, because after the 4 bytes of generic SUSP header there is one byte of flags. See typedef of ISO_RRIP_TF in iso9660_rrip.h.
2013-06-23Stick ffs_ in front of the following macros:dholland
fragstoblks() blkstofrags() fragnum() blknum() to finish the job of distinguishing them from the lfs versions, which Christos renamed the other day. I believe this is the last of the overtly ambiguous exported symbols from ffs... or at least, the last of the ones that conflicted with lfs. ffs still pollutes the C namespace very broadly (as does ufs) and this needs quite a bit more cleanup. XXX: boo on macros with lowercase names. But I'm not tackling that just yet.
2013-06-23Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front ofdholland
the following symbols so as to disambiguate fully. (Christos already did the lfs ones.) lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
2013-06-23fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()dholland
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB() (Christos already did the lfs ones a few days back)
2013-06-19Rename ambiguous macros:dholland
MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
2013-06-09Stick UFS_ in front of these symbols:dholland
DIRBLKSIZ DIRECTSIZ DIRSIZ OLDDIRFMT NEWDIRFMT Part of PR 47909.
2013-02-03add a replace flag so we can overlay exiting files when we merge directories.christos
2013-02-03- more changes to make -O workchristos
- fix err* calls.
2013-02-02add and document offset.christos
2013-02-01remove bogus err.christos
2013-02-01while it is studly to play with token pasting, passing directly the typechristos
is a lot more readable.
2013-01-31macroize to make it more type-safe.christos
2013-01-31the allow options are 8 bits wide.christos
2013-01-30- don't abuse vp->fs to mean struct fs for ffs and struct msdos_opts;christos
make it always fsinfo_t and change void * to that. - kill unused structure members.
2013-01-30gc global sectorsize.christos
2013-01-30buf is generic; it has nothing to do with ffs and will eventually be moved.christos
gc sectorize.
2013-01-30use "val" not "var"christos
2013-01-29add missing arguments.christos
2013-01-29workaround for gcc/vaxchristos
2013-01-29make everything use the generic options parser.christos
2013-01-29Allow options without values meaning the empty string for string optionschristos
and = 1 to numerics.
2013-01-29mention mechristos
2013-01-29deal with options that don't have a single letter argument.christos
2013-01-29handle some of the options by the generic parser.christos
2013-01-28- use emalloc and friendschristos
- kill a bunch of global variables, more work to be done here - homogenize option parsing. more work for cd9660 - use the new options parsing code to print an fs-specific usage
2013-01-28Do not use *bp after freeing it in brelse.mlelstv