The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30 / (download) - annotate - [select for diffs], Sat May 7 08:54:02 2022 UTC (9 months ago) by reinoud
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.29: +19 -2 lines
Diff to previous 1.29 (colored)

When creating disc images, keep the proposed size a multiple of the blockingnr
for good measure; this prevents possible burning/copying issues on packet
media.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Apr 26 15:18:08 2022 UTC (9 months, 1 week ago) by reinoud
Branch: MAIN
Changes since 1.28: +4 -3 lines
Diff to previous 1.28 (colored)

Avoid warning by clang of unused variable

While here, use the computated obj_size even though it's always the same as
its information length since we don't use extended attribute files or
stream directories.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Apr 26 14:59:37 2022 UTC (9 months, 1 week ago) by reinoud
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Fix endian bug that resulted in UniqueIDs of 0 in file identifiers; note that
the the unique ID in a longad stored in a FID is 32 bit where in the file
descriptor (fe/efe) its 64 bits long.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 26 13:27:24 2022 UTC (9 months, 1 week ago) by reinoud
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

No need to use ceilf() when ceil() is already used

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 26 13:26:30 2022 UTC (9 months, 1 week ago) by reinoud
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Fix endian bug in makefs for udf

Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 9 10:05:35 2022 UTC (9 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.24: +6 -7 lines
Diff to previous 1.24 (colored)

makefs(8): Nix trailing whitespace.

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

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 6 13:44:25 2022 UTC (10 months ago) by wiz
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

makefs: fix some typos

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 6 13:29:15 2022 UTC (10 months ago) by reinoud
Branch: MAIN
Changes since 1.22: +245 -353 lines
Diff to previous 1.22 (colored)

Refactor and rewrite of newfs_udf(8) and makefs(8) (-t udf) with a shared
section for fsck_udf(8).

Newfs_udf and makefs support predefined disc image profiles, harddisc
partitions (disklabel and wedges on all generic block devices) and all optical
media types on CD/DVD/BD writers.

Newfs_udf and makefs now also support formatting of UDF 2.50 with a metadata
partition.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 21 09:59:46 2021 UTC (17 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

s/helt/held+s/eroneously/erroneously/+s/splitted/split/+s/recommented/recommended/

Revision 1.18.12.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:47 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.18.12.1: +5 -9 lines
Diff to previous 1.18.12.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 18 12:25:01 2020 UTC (2 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20200421, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.20: +2 -5 lines
Diff to previous 1.20 (colored)

Remove unused variable (to fix the build)

Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 18 09:45:45 2020 UTC (2 years, 9 months ago) by reinoud
Branch: MAIN
Changes since 1.19: +6 -7 lines
Diff to previous 1.19 (colored)

Believe the datablocks predictor when determining if data on a node gets
stored internal or not. Also make a note that the datablocks predictor takes
NO extended attributes stored in the node into account

In rare cases it could lead to confusion where the predictor would say it
wouldn't fit internally when it could just have fitted. This would trigger the
assertion. Now it will on rare accasions create a datablock even though it
might have fitted.

Revision 1.18.12.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:33 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sun Feb 3 03:19:31 2019 UTC (4 years ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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-9, is-mlppp-base, is-mlppp
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:17 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.17: +10 -10 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:58:07 2017 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.17: +10 -10 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 8 21:33:12 2017 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, 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-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, bouyer-socketcan-base1
Branch point for: phil-wifi
Changes since 1.17: +10 -10 lines
Diff to previous 1.17 (colored)

If we are using a timestamp from the command line, don't pay attention to
the user timezone, use UTC instead (for reproducible builds).

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 16 23:04:14 2015 UTC (7 years, 7 months ago) by christos
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.16: +3 -3 lines
Diff to previous 1.16 (colored)

improve error messages (remove \n, use __func__, etc)

Revision 1.16.8.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:09 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.16.8.1: +1378 -0 lines
Diff to previous 1.16.8.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:43:05 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.16.4.1: +1378 -0 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (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.16.8.1, Thu Dec 19 23:00:50 2013 UTC (9 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.16: +0 -1378 lines
FILE REMOVED

file udf.c was added on branch tls-maxphys on 2014-08-20 00:05:09 +0000

Revision 1.16.4.1, Thu Dec 19 23:00:50 2013 UTC (9 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.16: +0 -1378 lines
FILE REMOVED

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

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 19 23:00:50 2013 UTC (9 years, 1 month ago) by joerg
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, 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
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

long_ad is a mix of struct and union, so use memset to initialise in the
one place it is used.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 19 22:10:03 2013 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

initialize dummy_ref

Revision 1.14 / (download) - annotate - [select for diffs], Sat Oct 19 17:16:37 2013 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.13: +2 -5 lines
Diff to previous 1.13 (colored)

fix unused variable warnings.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 14 10:16:04 2013 UTC (9 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.12: +10 -2 lines
Diff to previous 1.12 (colored)

when building as a tool, only use struct tm tm_gmtoff if HAVE_STRUCT_TM_TM_GMTOFF is defined -- fixes cygwin build

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 9 15:11:08 2013 UTC (9 years, 5 months ago) by reinoud
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

Fix possible 32 bit issues. In practice hard to reach but better be safe than
sorry.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 9 11:29:44 2013 UTC (9 years, 5 months ago) by reinoud
Branch: MAIN
Changes since 1.10: +11 -6 lines
Diff to previous 1.10 (colored)

Oops, used size_t when off_t was meant. This results in the 4G file size
modulation seen on 32 bit machines due to size_t being 32 bit there.

While here, also fix compilation errors he@ discovered while compiling on
NetBSD/vax.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Aug 6 13:15:30 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.9: +6 -4 lines
Diff to previous 1.9 (colored)

Switch back program version to the version of the newfs_udf/makefs code.

While here, visit the 80 columns police :)

Revision 1.9 / (download) - annotate - [select for diffs], Tue Aug 6 12:47:21 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.8: +44 -12 lines
Diff to previous 1.8 (colored)

Add minimum UDF version specification to makefs(8) -t udf.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 6 12:19:34 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.7: +31 -7 lines
Diff to previous 1.7 (colored)

Allow for the logical volume label to be specified as well as the physical
volume label. Also allow the volumeset name to be specified if desired. The
syntax follows the newfs_udf(8) syntax.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Aug 6 09:32:23 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.6: +52 -9 lines
Diff to previous 1.6 (colored)

Implement auto-setting of sector size and disc size when specifying
-oT=<devtype> to one of the supported disk types.

While here, also fix where the -s size argument would be overriden by the
calculated size.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 6 08:24:56 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored)

Fix assert() on allocation type by masking it with the flag allocation bit
mask. Fixes internal allocation writing in nodes with suid/sgid/sticky
accessnode.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 6 08:18:08 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.4: +16 -10 lines
Diff to previous 1.4 (colored)

Fix memory leaks found by Coverity and fix memoryleaks in the new code

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 5 18:44:16 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.3: +8 -27 lines
Diff to previous 1.3 (colored)

Revert joergs patch and make it compile in both the normal as in the tools
environment by providing the MMC datastructures separately for compat.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 5 17:12:04 2013 UTC (9 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.2: +28 -5 lines
Diff to previous 1.2 (colored)

Allow building UDF parts of makefs on !NetBSD.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 5 16:43:46 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN
Changes since 1.1: +8 -5 lines
Diff to previous 1.1 (colored)

Make memset() usage consequent in using the right types

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 5 14:41:57 2013 UTC (9 years, 6 months ago) by reinoud
Branch: MAIN

Implement `makefs -t udf'.

Formatting options may be enhanced to make it more in line with newfs_udf on
say labeling.

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>