The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / makefs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 29 08:13:52 2024 UTC (7 weeks ago) by tkusumi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored) to selected 1.13 (colored)

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.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 18 16:58:51 2024 UTC (8 weeks, 4 days ago) by christos
Branch: MAIN
Changes since 1.23: +7 -7 lines
Diff to previous 1.23 (colored) to selected 1.13 (colored)

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.

Revision 1.20.14.1 / (download) - annotate - [select for diffs], Sat Dec 30 19:17:06 2023 UTC (3 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.13 (colored)

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.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 19:15:59 2023 UTC (3 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.13 (colored)

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.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 28 12:13:55 2023 UTC (3 months, 3 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.22: +7 -7 lines
Diff to previous 1.22 (colored) to selected 1.13 (colored)

Use EXIT_SUCCESS and EXIT_FAILURE where appropriate per style guide.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 20 15:07:16 2023 UTC (3 months, 4 weeks ago) by tsutsui
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.13 (colored)

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.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 9 10:05:35 2022 UTC (2 years ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC1
Branch point for: netbsd-10
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored) to selected 1.13 (colored)

makefs(8): Nix trailing whitespace.

Computed by machine, eyeballed by hand, so to speak.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:35 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.16.2.1: +4 -7 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.13 (colored)

Sync with HEAD

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:17 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.16: +10 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.13 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Fri Apr 14 15:40:35 2017 UTC (7 years ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1
Branch point for: netbsd-9
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) to selected 1.13 (colored)

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.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Apr 13 17:20:59 2017 UTC (7 years ago) by christos
Branch: MAIN
Changes since 1.18: +4 -7 lines
Diff to previous 1.18 (colored) to selected 1.13 (colored)

for consistency with ffs, don't count the offset into the size.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:58:07 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.16: +8 -2 lines
Diff to previous 1.16 (colored) to selected 1.13 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Thu Feb 16 22:44:06 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.17: +6 -3 lines
Diff to previous 1.17 (colored) to selected 1.13 (colored)

allow 0 timestamp

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 16 18:50:04 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored) to selected 1.13 (colored)

start fixing msdosfs for reproducible builds; does not work yet.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 30 09:59:27 2016 UTC (8 years, 2 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.15: +29 -14 lines
Diff to previous 1.15 (colored) to selected 1.13 (colored)

Add support to msdosfs and makefs to generate correct Unicode (UCS-2) directory
entries from UTF8 encoded file names.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Oct 16 16:40:02 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.14: +2 -5 lines
Diff to previous 1.14 (colored) to selected 1.13 (colored)

remove clause 3.

Revision 1.14.10.2 / (download) - annotate - [select for diffs], Thu May 22 11:43:05 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.14.10.1: +257 -0 lines
Diff to previous 1.14.10.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.13 (colored)

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")

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:44 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.14.4.1: +257 -0 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.13 (colored)

resync with head

Revision 1.14.10.1, Sun Feb 3 03:21:21 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.14: +0 -257 lines
FILE REMOVED

file msdos.c was added on branch yamt-pagecache on 2014-05-22 11:43:05 +0000

Revision 1.14.4.1, Sun Feb 3 03:21:21 2013 UTC (11 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.14: +0 -257 lines
FILE REMOVED

file msdos.c was added on branch tls-maxphys on 2013-02-25 00:30:44 +0000

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 3 03:21:21 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

- more changes to make -O work
- fix err* calls.

Revision 1.13 / (download) - annotate - [selected], Wed Jan 30 19:19:19 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

- 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.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 30 17:29:25 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.11: +13 -5 lines
Diff to previous 1.11 (colored) to selected 1.13 (colored)

gc global sectorsize.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 29 21:54:19 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.13 (colored)

add missing arguments.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 28 21:03:27 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.9: +23 -23 lines
Diff to previous 1.9 (colored) to selected 1.13 (colored)

- 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

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 27 22:53:03 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.8: +15 -9 lines
Diff to previous 1.8 (colored) to selected 1.13 (colored)

fix recursion error handling. top level directory works.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 27 20:05:46 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.7: +3 -4 lines
Diff to previous 1.7 (colored) to selected 1.13 (colored)

This works well enough to populate plain files in the root dir. creating
directories fails.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 27 15:35:45 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored) to selected 1.13 (colored)

fixed directory entry allocation. Now the file data remains and is currently
broken.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 26 00:20:40 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.5: +85 -27 lines
Diff to previous 1.5 (colored) to selected 1.13 (colored)

add more msdos stuff.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 24 01:10:47 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.4: +8 -13 lines
Diff to previous 1.4 (colored) to selected 1.13 (colored)

- 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.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 23 22:47:18 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.3: +12 -2 lines
Diff to previous 1.3 (colored) to selected 1.13 (colored)

ok, we can create the filesystem now.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 23 21:42:22 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.2: +19 -3 lines
Diff to previous 1.2 (colored) to selected 1.13 (colored)

return the bit of the option set, so that others can act on it.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jan 23 21:32:32 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.1: +3 -5 lines
Diff to previous 1.1 (colored) to selected 1.13 (colored)

remove duplicated code, and try to cleanup parsing by using the shared code.
cd9660 needs a lot of work.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 23 20:46:39 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Diff to selected 1.13 (colored)

- add support for parsing different types; not just int.
- add beginning of msdos support.

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.




CVSweb <webmaster@jp.NetBSD.org>