Home | History | Annotate | Download | only in makefs
History log of /src/usr.sbin/makefs/msdos.c
RevisionDateAuthorComments
 1.25  29-Feb-2024  tkusumi makefs/msdos: Fix broken [extra-directory ...] case

"path + cur->name" is not same as "cur->root + cur->path + cur->name"
for extra-directory files, as extra-directory files are
in different location. Do what makefs ffs code does.
 1.24  18-Feb-2024  christos PR/57945: Jan-Benedict Glaw: makefs: msdos filesystems with label not
reproducible.
When we specify a label, the volume label is used to create the root dir
and it gets stamped by the timestamp. We were trying to set the timestamp
in the fs-specific part of the options parsing which did not work since
the method was called only for fs_specific options. Move setting of the
timestamp just before we create the fs, where we reconcile the rest of
the options.
 1.23  28-Dec-2023  tsutsui Use EXIT_SUCCESS and EXIT_FAILURE where appropriate per style guide.
 1.22  20-Dec-2023  tsutsui Return a proper exit status on failure on creating msdosfs.

No particular comment in PR bin/57752.
Should be pulled up to netbsd-10 and netbsd-9.
 1.21  09-Apr-2022  riastradh branches: 1.21.2;
makefs(8): Nix trailing whitespace.

Computed by machine, eyeballed by hand, so to speak.
 1.20  14-Apr-2017  christos branches: 1.20.14;
leave the size alone and set the create_size to include the offset. It
does not matter anyway, but it makes more sense this way.
 1.19  13-Apr-2017  christos for consistency with ffs, don't count the offset into the size.
 1.18  16-Feb-2017  christos allow 0 timestamp
 1.17  16-Feb-2017  christos start fixing msdosfs for reproducible builds; does not work yet.
 1.16  30-Jan-2016  mlelstv branches: 1.16.2; 1.16.4;
Add support to msdosfs and makefs to generate correct Unicode (UCS-2) directory
entries from UTF8 encoded file names.
 1.15  16-Oct-2015  christos remove clause 3.
 1.14  03-Feb-2013  christos branches: 1.14.4; 1.14.10;
- more changes to make -O work
- fix err* calls.
 1.13  30-Jan-2013  christos - 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.12  30-Jan-2013  christos gc global sectorsize.
 1.11  29-Jan-2013  christos add missing arguments.
 1.10  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.9  27-Jan-2013  christos fix recursion error handling. top level directory works.
 1.8  27-Jan-2013  christos This works well enough to populate plain files in the root dir. creating
directories fails.
 1.7  27-Jan-2013  christos fixed directory entry allocation. Now the file data remains and is currently
broken.
 1.6  26-Jan-2013  christos add more msdos stuff.
 1.5  24-Jan-2013  christos - Fix single letter option parsing.
- Instead of returning 1 << index and 0 on error,
return just index and -1 on error for the set_option*() routines.
 1.4  23-Jan-2013  christos ok, we can create the filesystem now.
 1.3  23-Jan-2013  christos return the bit of the option set, so that others can act on it.
 1.2  23-Jan-2013  christos remove duplicated code, and try to cleanup parsing by using the shared code.
cd9660 needs a lot of work.
 1.1  23-Jan-2013  christos - add support for parsing different types; not just int.
- add beginning of msdos support.
 1.14.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.14.10.1  03-Feb-2013  yamt file msdos.c was added on branch yamt-pagecache on 2014-05-22 11:43:05 +0000
 1.14.4.2  25-Feb-2013  tls resync with head
 1.14.4.1  03-Feb-2013  tls file msdos.c was added on branch tls-maxphys on 2013-02-25 00:30:44 +0000
 1.16.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.16.2.2  26-Apr-2017  pgoyette Sync with HEAD
 1.16.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.20.14.1  30-Dec-2023  martin Pull up following revision(s) (requested by tsutsui in ticket #1783):

usr.sbin/makefs/msdos.c: revision 1.22

Return a proper exit status on failure on creating msdosfs.

No particular comment in PR bin/57752.
 1.21.2.1  30-Dec-2023  martin Pull up following revision(s) (requested by tsutsui in ticket #522):

usr.sbin/makefs/msdos.c: revision 1.22

Return a proper exit status on failure on creating msdosfs.

No particular comment in PR bin/57752.

RSS XML Feed