OpenBSD CVS

CVS log for src/usr.sbin/makefs/msdos.c


[BACK] Up to [local] / src / usr.sbin / makefs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 6 00:40:39 2021 UTC (2 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.12: +5 -3 lines
Diff to previous 1.12 (colored)

annotate all required sys/param.h uses with what they bring into scope,
and delete all others.  use PATH_MAX and other standardized symbols instead
of prehistoric kernel-only names, create local MINIMUM/MAXIMUM macros where
required, and directly include standard userland .h files as required.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 1 15:19:00 2021 UTC (2 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

remove sys/param.h use (few small repairs)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 23 18:16:06 2017 UTC (7 years, 2 months ago) by patrick
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Set the maximum value of the msdos options to the value of LLONG_MAX
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@

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 17 16:12:15 2016 UTC (7 years, 5 months ago) by krw
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

While here nuke some more annoying whitespace nits.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 26 07:53:47 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Remove FS-specific option descriptions from the source code. We have a
manual for that. While there document the isolevel option and remove
some dysfunctional cd9660 options.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 23 10:22:21 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

Remove short option names for -o.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 22 18:17:14 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.6: +2 -19 lines
Diff to previous 1.6 (colored)

Remove huge amounts of debug code, that make the code nearly unreadable.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 18 17:05:30 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Merge fs/msdosfs/ and newfs_msdos/ into msdos/.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 17 01:16:22 2016 UTC (7 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

mechanical rename of vnode to mkfsvnode and buf to mkfsbuf to avoid
collisions with the kernel structures of the same name.
caught one bug where the wrong header was being included.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 16 20:26:56 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

Add OpenBSD RCS tags; reminded by tb

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 16 19:53:11 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.2: +0 -8 lines
Diff to previous 1.2 (colored)

Unused includes, as reported by include-what-you-use from ports.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 16 18:55:10 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
Changes since 1.1: +12 -24 lines
Diff to previous 1.1 (colored)

Replace fs/msdosfs/{msdosfs_conv.c,direntry.h} with stripped-down
versions from our own tree. This allows to remove the clock_subr.c
tentacle.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 16 17:08:53 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN

Import makefs - a tool to create filesystem images from a directory.

This is a rough port of the NetBSD tool with some features removed we
don't need. It compiles, but I don't promise anything more. Importing
now, so we can hack on it in tree.

The supported filesystem types are: cd9660, ffs and msdosfs.

ok deraadt

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.