summaryrefslogtreecommitdiff
path: root/usr.sbin/makefs
AgeCommit message (Collapse)Author
2017-11-07Tweak the man page and warning message, revert the comma.YASUOKA Masahiko
2017-11-02Use emalloc, like in the rest of makefsJeremie Courreges-Anglas
From Michael W. Bombardieri
2017-10-31Add platform-id for EFI.YASUOKA Masahiko
seem fine deraadt
2017-10-31Fix a bug which made the boot entries' order reverse, introduced at 1.8 onYASUOKA Masahiko
NetBSD. seem fine deraadt
2017-10-31Initialize boot_catalog_entry's entry_type properly. This had beenYASUOKA Masahiko
missing but the type was used in cd9660_setup_boot(). seem fine deraadt
2017-08-31assorted warning fixes; ok millert@Otto Moerbeek
2017-04-09Remove unused #define's and struct.Martin Natano
2017-04-06Remove the CD9660MAXPATH define. It was used to construct the path forMartin Natano
opening the file, so PATH_MAX makes more sense here. While there change the code to do two less allocations per file. ok deraadt
2017-03-28add missing braces around a multi line if statementJonathan Gray
ok patrick@ deraadt@
2017-03-23Set the maximum value of the msdos options to the value of LLONG_MAXPatrick Wildt
instead of ULLONG_MAX since the type of the comparison is using long long, which has a positive maximum of LLONG_MAX. The affected opts are of type off_t, which should have a maximum of LLONG_MAX anyway. Fixes makefs(8) on msdos with options "create_size" or "offset". ok natano@
2017-01-21Use MD disklabel position.Martin Natano
2016-12-17While here nuke some more annoying whitespace nits.Kenneth R Westerback
2016-12-17While here nuke some more annoying whitespace nits.Kenneth R Westerback
2016-12-17While here nuke some more annoying whitespace nits.Kenneth R Westerback
2016-12-17While here nuke some more annoying whitespace nits.Kenneth R Westerback
2016-12-17While here nuke some more annoying whitespace nits.Kenneth R Westerback
2016-12-17Nuke unused variable and some extra whitespace.Kenneth R Westerback
ok natano@
2016-11-26Avoid NULL pointer dereference in cd9660.Martin Natano
from christos@NetBSD via mestre Original Log Message: PR/51652: Sevan Janiyan: makefs dies due to segmentation fault Don't dereference NULL when running out of nodes during rename.
2016-11-14disklabel -w doesn't set bstart/bend, so makefs shouldn't do that either.Martin Natano
2016-11-13Pick up the FS image size, the sector size and the bsize and fsizeMartin Natano
parameters from the disklabel. discussed with deraadt
2016-11-11Clean up FFS option handling somewhat; no functional change.Martin Natano
2016-11-11Optimize for space by default.Martin Natano
ok deraadt
2016-11-10Sync bsize and fsize defaults with newfs.Martin Natano
2016-11-10Remove the unused cpg field from ffs_opt_t.Martin Natano
2016-11-08Respect -Ooffset for the disklabel location.Martin Natano
2016-11-08Describe -o disklabel=name.Martin Natano
2016-11-08Add a disklabel option that creates a disklabel with the info providedMartin Natano
by disktab. This is one piece of the puzzle that will allow use to build install media without vnd. ok deraadt
2016-11-08pledge for "stdio rpath wpath cpath" promises since it only needs toRicardo Mestre
read/write/create files OK natano@ and tb@, thank you both for noticing the bad indentation
2016-11-06Remove unused fields from ffs_opt_t.Martin Natano
2016-10-26s/EXIT_FAILURE/1/Martin Natano
2016-10-26mac68k is discontinuedMartin Natano
2016-10-26Add the omit-trailing-period cd9660 option to the manual.Martin Natano
2016-10-26Remove cd9660's chrp-boot option. deraadt confirmed we don't support anyMartin Natano
CHRP hardware.
2016-10-26Use OPT_BOOL, not OPT_INT32 for boolean cd9660 options.Martin Natano
2016-10-26Remove FS-specific option descriptions from the source code. We have aMartin Natano
manual for that. While there document the isolevel option and remove some dysfunctional cd9660 options.
2016-10-25convert usage() to just spit out the normal options list,Jason McIntyre
instead of trying to list all the fs-specific stuff; help/ok natano
2016-10-24document the options for msdos systems; help/ok natanoJason McIntyre
2016-10-23No verbose flag for cd9660.Martin Natano
2016-10-23Remove the msdos no_create option.Martin Natano
2016-10-23Remove cd9660's keep-bad-images option.Martin Natano
2016-10-23Remove short option names for -o.Martin Natano
2016-10-22Dedup msdosfs/{bootsect.h,bpb.h}.Martin Natano
2016-10-22-#include <stdbool.h>Martin Natano
2016-10-22various cleanup; ok natanoJason McIntyre
2016-10-22Get rid of remaining FFS byteswap function stubs.Martin Natano
2016-10-22More "debug" code that has to go.Martin Natano
2016-10-22Clean up timestamp handling code to be less confusing.Martin Natano
2016-10-22Remove huge amounts of debug code, that make the code nearly unreadable.Martin Natano
2016-10-22s/panic/errx/ This is userland.Martin Natano
2016-10-22Include our own <ufs/ufs/dinode.h>, <ufs/ufs/dir.h> and <ufs/ffs/fs.h>Martin Natano
header files instead of relying on copies of NetBSD's headers. This required some changes in the .c files, due to renamed fields, functions and preprocessor macros. Also pull in our own ffs_tables.c. As a bonus this diff gets rid of layout compatibility issues in the superblock (position of the fs_flags field).