Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | No need to check for NULL before free(). | krw | 2020-04-09 | 1 | -7/+4 |
| | | | | From Geoff Hill. | ||||
* | msdosfs: remove timezone support | cheloha | 2019-09-04 | 1 | -9/+2 |
| | | | | | | | | | | | This support is undocumented, only works if you're using the kernel timezone, and breaks during a DST shift. It also preferences file systems managed by a Windows installation: many implementations, like ours, use UTC by default (think: phones, digital cameras). No complaints on tech@. "good riddance" tedu@, "Yep." deraadt@ | ||||
* | unveil(2) boot images which are specified by -o option. Also exit | yasuoka | 2018-11-20 | 2 | -4/+11 |
| | | | | | | with an error status when writing cd image fails. ok deraadt | ||||
* | unveil(2) is easy since this only uses one directory tree | deraadt | 2018-09-24 | 1 | -1/+5 |
| | | | | | (containing no exterior pointing symlinks), and a file. In snaps for about 2 months. | ||||
* | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | guenther | 2018-04-26 | 1 | -2/+1 |
| | | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | ||||
* | Tweak the man page and warning message, revert the comma. | yasuoka | 2017-11-07 | 2 | -5/+5 |
| | |||||
* | Use emalloc, like in the rest of makefs | jca | 2017-11-02 | 1 | -3/+3 |
| | | | | From Michael W. Bombardieri | ||||
* | Add platform-id for EFI. | yasuoka | 2017-10-31 | 3 | -8/+15 |
| | | | | seem fine deraadt | ||||
* | Fix a bug which made the boot entries' order reverse, introduced at 1.8 on | yasuoka | 2017-10-31 | 1 | -4/+5 |
| | | | | | | NetBSD. seem fine deraadt | ||||
* | Initialize boot_catalog_entry's entry_type properly. This had been | yasuoka | 2017-10-31 | 1 | -1/+5 |
| | | | | | | missing but the type was used in cd9660_setup_boot(). seem fine deraadt | ||||
* | assorted warning fixes; ok millert@ | otto | 2017-08-31 | 1 | -2/+2 |
| | |||||
* | Remove unused #define's and struct. | natano | 2017-04-09 | 1 | -24/+1 |
| | |||||
* | Remove the CD9660MAXPATH define. It was used to construct the path for | natano | 2017-04-06 | 3 | -32/+27 |
| | | | | | | | opening the file, so PATH_MAX makes more sense here. While there change the code to do two less allocations per file. ok deraadt | ||||
* | add missing braces around a multi line if statement | jsg | 2017-03-28 | 1 | -2/+3 |
| | | | | ok patrick@ deraadt@ | ||||
* | Set the maximum value of the msdos options to the value of LLONG_MAX | patrick | 2017-03-23 | 1 | -2/+2 |
| | | | | | | | | | 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@ | ||||
* | Use MD disklabel position. | natano | 2017-01-21 | 1 | -2/+2 |
| | |||||
* | While here nuke some more annoying whitespace nits. | krw | 2016-12-17 | 7 | -45/+45 |
| | |||||
* | While here nuke some more annoying whitespace nits. | krw | 2016-12-17 | 4 | -14/+14 |
| | |||||
* | While here nuke some more annoying whitespace nits. | krw | 2016-12-17 | 5 | -15/+15 |
| | |||||
* | While here nuke some more annoying whitespace nits. | krw | 2016-12-17 | 1 | -2/+2 |
| | |||||
* | While here nuke some more annoying whitespace nits. | krw | 2016-12-17 | 7 | -28/+28 |
| | |||||
* | Nuke unused variable and some extra whitespace. | krw | 2016-12-17 | 1 | -9/+9 |
| | | | | ok natano@ | ||||
* | Avoid NULL pointer dereference in cd9660. | natano | 2016-11-26 | 1 | -3/+3 |
| | | | | | | | | 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. | ||||
* | disklabel -w doesn't set bstart/bend, so makefs shouldn't do that either. | natano | 2016-11-14 | 1 | -6/+2 |
| | |||||
* | Pick up the FS image size, the sector size and the bsize and fsize | natano | 2016-11-13 | 3 | -20/+49 |
| | | | | | | parameters from the disklabel. discussed with deraadt | ||||
* | Clean up FFS option handling somewhat; no functional change. | natano | 2016-11-11 | 3 | -22/+11 |
| | |||||
* | Optimize for space by default. | natano | 2016-11-11 | 2 | -6/+5 |
| | | | | ok deraadt | ||||
* | Sync bsize and fsize defaults with newfs. | natano | 2016-11-10 | 1 | -3/+3 |
| | |||||
* | Remove the unused cpg field from ffs_opt_t. | natano | 2016-11-10 | 2 | -7/+2 |
| | |||||
* | Respect -Ooffset for the disklabel location. | natano | 2016-11-08 | 1 | -2/+2 |
| | |||||
* | Describe -o disklabel=name. | natano | 2016-11-08 | 1 | -2/+7 |
| | |||||
* | Add a disklabel option that creates a disklabel with the info provided | natano | 2016-11-08 | 2 | -3/+63 |
| | | | | | | | by disktab. This is one piece of the puzzle that will allow use to build install media without vnd. ok deraadt | ||||
* | pledge for "stdio rpath wpath cpath" promises since it only needs to | mestre | 2016-11-08 | 1 | -1/+4 |
| | | | | | | read/write/create files OK natano@ and tb@, thank you both for noticing the bad indentation | ||||
* | Remove unused fields from ffs_opt_t. | natano | 2016-11-06 | 2 | -18/+2 |
| | |||||
* | s/EXIT_FAILURE/1/ | natano | 2016-10-26 | 8 | -40/+36 |
| | |||||
* | mac68k is discontinued | natano | 2016-10-26 | 2 | -6/+4 |
| | |||||
* | Add the omit-trailing-period cd9660 option to the manual. | natano | 2016-10-26 | 1 | -3/+3 |
| | |||||
* | Remove cd9660's chrp-boot option. deraadt confirmed we don't support any | natano | 2016-10-26 | 4 | -19/+5 |
| | | | | CHRP hardware. | ||||
* | Use OPT_BOOL, not OPT_INT32 for boolean cd9660 options. | natano | 2016-10-26 | 1 | -2/+2 |
| | |||||
* | Remove FS-specific option descriptions from the source code. We have a | natano | 2016-10-26 | 8 | -134/+82 |
| | | | | | manual for that. While there document the isolevel option and remove some dysfunctional cd9660 options. | ||||
* | convert usage() to just spit out the normal options list, | jmc | 2016-10-25 | 1 | -16/+7 |
| | | | | | | instead of trying to list all the fs-specific stuff; help/ok natano | ||||
* | document the options for msdos systems; help/ok natano | jmc | 2016-10-24 | 1 | -5/+57 |
| | |||||
* | No verbose flag for cd9660. | natano | 2016-10-23 | 5 | -115/+7 |
| | |||||
* | Remove the msdos no_create option. | natano | 2016-10-23 | 2 | -135/+129 |
| | |||||
* | Remove cd9660's keep-bad-images option. | natano | 2016-10-23 | 4 | -13/+6 |
| | |||||
* | Remove short option names for -o. | natano | 2016-10-23 | 6 | -170/+137 |
| | |||||
* | Dedup msdosfs/{bootsect.h,bpb.h}. | natano | 2016-10-22 | 7 | -299/+11 |
| | |||||
* | -#include <stdbool.h> | natano | 2016-10-22 | 4 | -16/+13 |
| | |||||
* | various cleanup; ok natano | jmc | 2016-10-22 | 1 | -47/+29 |
| | |||||
* | Get rid of remaining FFS byteswap function stubs. | natano | 2016-10-22 | 7 | -111/+47 |
| |