Home | History | Annotate | only in /src/usr.sbin/makefs/msdos
History log of /src/usr.sbin/makefs/msdos
RevisionDateAuthorComments
 1.7 06-Feb-2016  mlelstv Split case folding table into separate source file and add full
copyright and permission notice from http://www.unicode.org/copyright.html
 1.6 01-Sep-2014  martin Make msdosfs time conversion use the y/m/d/h/m/s conversion functions
from clock_subr.c and compile that into the userland (and tools)
makefs as well.
 1.5 26-Jan-2013  christos branches: 1.5.4; 1.5.10; 1.5.12;
make this cross-compile friendly.
 1.4 26-Jan-2013  christos add more msdos stuff.
 1.3 23-Jan-2013  christos ok, we can create the filesystem now.
 1.2 23-Jan-2013  christos don't reuse the same variables
 1.1 23-Jan-2013  christos - add support for parsing different types; not just int.
- add beginning of msdos support.
 1.5.12.1 12-Nov-2014  snj Pull up following revision(s) (requested by martin in ticket #216):
share/man/man9/todr.9: revision 1.17
sys/arch/sh3/dev/rtc.c: revision 1.9
sys/dev/clock_subr.c: revision 1.17-1.22
sys/dev/clock_subr.h: revision 1.22
sys/fs/msdosfs/msdosfs_conv.c: revision 1.10
tools/compat/compat_defs.h: revision 1.98
tools/compat/dev/clock_subr.h: revision 1.1-1.2
usr.sbin/makefs/msdos/Makefile.inc: revision 1.6
clock_secs_to_ymdhms(9) takes seconds as a time_t, not int.
--
Make this compile- and usable from userland as well.
--
Add a slightly stripped down version of sys/dev/clock/clock_subr.h to make
this code available for tools.
--
Reformulate an overflow test so it can be used in tool builds (i.e. does
not depend on netbsd specific macros).
--
Make msdosfs time conversion use the y/m/d/h/m/s conversion functions
from clock_subr.c and compile that into the userland (and tools)
makefs as well.
--
Copy definitions of __type_min(t), __type_max(t), and some related macros,
from <sys/cdefs.h>, for use when building tools.
--
Revert previous; test secs > __type_max(time_t) again, now
that __type_max is available in tools/compat/compat_defs.h.
--
If HAVE_NBTOOL_CONFIG_H is set, then include "nbtool_config.h",
because this file is compiled as part of tools/makefs.
--
Counting leap years was fine while we had 32bit time_t - but now it
is not a good idea for dates far away in the future.
For dates in the year 2000 or later, use arithmetic instead (since the
repeating periods are well aligned). Should fix PR 49144.
--
Avoid overflowing the "year" value by making the field uint64_t. Adapt
arguments and local variables accordingly.
This now fixes PR 49144 for real.
--
Adapt formats for debug printfs to clock_subr type changes.
 1.5.10.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5.10.1 26-Jan-2013  yamt file Makefile.inc was added on branch yamt-pagecache on 2014-05-22 11:43:05 +0000
 1.5.4.2 25-Feb-2013  tls resync with head
 1.5.4.1 26-Jan-2013  tls file Makefile.inc was added on branch tls-maxphys on 2013-02-25 00:30:45 +0000
 1.8 23-Oct-2021  thorpej Sanitize the symbol namespace. NFC.
 1.7 29-Mar-2015  agc Make the userland signature and uses of bread() match the kernel ones,
after the removal of the cred argument.
 1.6 19-Oct-2013  christos branches: 1.6.4;
fix unused variable warnings.
 1.5 28-Jan-2013  christos branches: 1.5.4;
- use emalloc and friends
- 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
 1.4 28-Jan-2013  christos don't forget to initialize the cache.
 1.3 27-Jan-2013  christos fix root detection (although the code is a noop)
 1.2 26-Jan-2013  christos make this cross-compile friendly.
 1.1 26-Jan-2013  christos add more msdos stuff.
 1.5.4.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.4.2 25-Feb-2013  tls resync with head
 1.5.4.1 28-Jan-2013  tls file msdosfs_denode.c was added on branch tls-maxphys on 2013-02-25 00:30:45 +0000
 1.6.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.4.1 19-Oct-2013  yamt file msdosfs_denode.c was added on branch yamt-pagecache on 2014-05-22 11:43:05 +0000
 1.13 09-Apr-2022  riastradh makefs(8): Nix trailing whitespace.

Computed by machine, eyeballed by hand, so to speak.
 1.12 23-Oct-2021  thorpej Sanitize the symbol namespace. NFC.
 1.11 27-Jan-2018  sevan Need strings.h for ffs()
 1.10 30-Jan-2016  mlelstv branches: 1.10.8;
Add support to msdosfs and makefs to generate correct Unicode (UCS-2) directory
entries from UTF8 encoded file names.
 1.9 29-Mar-2015  agc Make the userland signature and uses of bread() match the kernel ones,
after the removal of the cred argument.
 1.8 09-Jul-2014  maxv branches: 1.8.2;
What a terrible use-after-free
 1.7 30-Jan-2013  christos branches: 1.7.4; 1.7.8; 1.7.10;
- don't abuse vp->fs to mean struct fs for ffs and struct msdos_opts;
make it always fsinfo_t and change void * to that.
- kill unused structure members.
 1.6 28-Jan-2013  christos - use emalloc and friends
- 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
 1.5 27-Jan-2013  christos This works well enough to populate plain files in the root dir. creating
directories fails.
 1.4 27-Jan-2013  christos fixed directory entry allocation. Now the file data remains and is currently
broken.
 1.3 26-Jan-2013  christos make this cross-compile friendly.
 1.2 26-Jan-2013  christos add debugging, fix warnings.
 1.1 26-Jan-2013  christos add more msdos stuff.
 1.7.10.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.10.1 30-Jan-2013  yamt file msdosfs_vfsops.c was added on branch yamt-pagecache on 2014-05-22 11:43:05 +0000
 1.7.8.1 10-Aug-2014  tls Rebase.
 1.7.4.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.4.2 25-Feb-2013  tls resync with head
 1.7.4.1 30-Jan-2013  tls file msdosfs_vfsops.c was added on branch tls-maxphys on 2013-02-25 00:30:45 +0000
 1.8.2.1 19-Feb-2018  snj Pull up following revision(s) (requested by sevan in ticket #1558):
sys/fs/msdosfs/msdosfs_fat.c: 1.32
usr.sbin/makefs/msdos/msdosfs_vfsops.c: 1.11
Need strings.h for ffs()
--
Need strings.h for ffs()
Resolves implict declaration warning of ffs() when building tools via
build.sh
 1.10.8.1 04-Feb-2018  martin Pull up following revision(s) (requested by sevan in ticket #518):
sys/fs/msdosfs/msdosfs_fat.c: revision 1.32
usr.sbin/makefs/msdos/msdosfs_vfsops.c: revision 1.11
Need strings.h for ffs()
Need strings.h for ffs()
Resolves implict declaration warning of ffs() when building tools via
build.sh
 1.22 09-Apr-2022  riastradh makefs(8): Nix trailing whitespace.

Computed by machine, eyeballed by hand, so to speak.
 1.21 23-Oct-2021  thorpej Sanitize the symbol namespace. NFC.
 1.20 23-Oct-2021  hannken Factor out the lookup results from struct denode.

No functional change.
 1.19 13-Apr-2017  christos Fix error handling; msdosfs_wfile is supposed to return errno.
 1.18 16-Feb-2017  christos start fixing msdosfs for reproducible builds; does not work yet.
 1.17 30-Jan-2016  mlelstv branches: 1.17.2; 1.17.4;
Add support to msdosfs and makefs to generate correct Unicode (UCS-2) directory
entries from UTF8 encoded file names.
 1.16 29-Mar-2015  agc Make the userland signature and uses of bread() match the kernel ones,
after the removal of the cred argument.
 1.15 19-Oct-2013  christos branches: 1.15.4;
fix unused variable warnings.
 1.14 29-Jan-2013  christos branches: 1.14.4;
workaround for gcc/vax
 1.13 28-Jan-2013  christos use pcbmap instead of the open coded hack now the pcbmap works.
 1.12 27-Jan-2013  christos - don't forget to set de_pmp
- unexpand inserted tabs to the "." and ".." strings!
 1.11 27-Jan-2013  christos undo c99
 1.10 27-Jan-2013  christos - some more debugging
- use msdosfs_update() -- should not be needed.
- remove <sys/mount.h>
 1.9 27-Jan-2013  christos This works well enough to populate plain files in the root dir. creating
directories fails.
 1.8 27-Jan-2013  christos the max msdos file size is less than size_t so don't bother checking against it.
 1.7 27-Jan-2013  christos fixed directory entry allocation. Now the file data remains and is currently
broken.
 1.6 27-Jan-2013  martin Make it compile on 32bit AND 64bit archs.
 1.5 27-Jan-2013  mbalmer Allow this to compile on 32bit architectures.
 1.4 26-Jan-2013  christos depend on TOOLS instead of __NetBSD__ for extra functionality
 1.3 26-Jan-2013  christos make this cross-compile friendly.
 1.2 26-Jan-2013  christos add debugging, fix warnings.
 1.1 26-Jan-2013  christos add more msdos stuff.
 1.14.4.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.4.2 25-Feb-2013  tls resync with head
 1.14.4.1 29-Jan-2013  tls file msdosfs_vnops.c was added on branch tls-maxphys on 2013-02-25 00:30:45 +0000
 1.15.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.4.1 19-Oct-2013  yamt file msdosfs_vnops.c was added on branch yamt-pagecache on 2014-05-22 11:43:05 +0000
 1.17.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.17.2.2 26-Apr-2017  pgoyette Sync with HEAD
 1.17.2.1 20-Mar-2017  pgoyette Sync with HEAD

RSS XML Feed