Home | History | Annotate | Download | only in newfs_udf
History log of /src/sbin/newfs_udf/newfs_udf.c
RevisionDateAuthorComments
 1.24  09-Apr-2022  riastradh newfs_udf(8): Nix trailing whitespace.

No functional change intended.
 1.23  06-Apr-2022  reinoud 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.
 1.22  19-Sep-2021  andvar fix various typos in comments, messages and documentation.
 1.21  20-Aug-2021  andvar fix various typos in comments and log messages.
 1.20  05-Apr-2020  joerg Fix depenency on common symbols in sbin.
 1.19  09-Mar-2016  christos branches: 1.19.16;
PR/50920: David Binderman: fix leak
 1.18  09-Aug-2013  reinoud Fix possible 32 bit issues. In practice hard to reach but better be safe than
sorry.
 1.17  06-Aug-2013  reinoud Switch back program version to the version of the newfs_udf/makefs code.

While here, visit the 80 columns police :)
 1.16  06-Aug-2013  reinoud Oops, forgot to export a_udf_version() that checks if the input string is a
valid UDF version notation.
 1.15  05-Aug-2013  reinoud Adjust newfs_udf to be sharing code with the new `makefs -t udf' to be
comitted.
 1.14  18-Jul-2013  reinoud Initial split up for making newfs_udf(8) routines suitable for makefs_udf(8)
 1.13  02-Jul-2013  reinoud branches: 1.13.2;
Update newfs_udf to allow for creating file images with -F and specifying
sector sizes with -S.

For this i had to recycle the -S parameter but its preserved as an extension
to the -P parameter. These parameters are hardly ever use though since using
either or both the origional -S and the -P parameter without specific values
would break the standard. Also the -F now has a double meaning.
 1.12  26-May-2011  reinoud branches: 1.12.4; 1.12.10;
Fix accidental use of logical && instead of binary & in rare case.

Bug noticed by Joerg and clang :)
 1.11  21-Jan-2011  reinoud When requesting to disable metadata partitions, also disable low formatting.
When no meta and not low formatting we can lower the required UDF version.
 1.10  21-Jan-2011  reinoud Fix typo in comment
 1.9  04-Jan-2011  wiz branches: 1.9.2;
Fix memory leaks. Found by cppcheck.
 1.8  17-Sep-2009  reinoud Update TODO message; we can format with meta data partitions, only not yet for
BD-R, i.e. UDF 2.60.
 1.7  18-Jan-2009  lukem Use KiB MiB GiB instead of Kb Mb Gb
 1.6  18-Jan-2009  lukem * Fix -Wsign-compare issues.
* Add some XXXs noting where we might want to check for 16bit overflow.
* Use uintNN_t instead of int if the values is read from or written to
using udf_rwNN().
 1.5  05-Aug-2008  pooka branches: 1.5.2; 1.5.4;
Refactor mount utilities to provide a mount_fs_parseargs() routine.
Use this routine both in mount_fs and rump_fs to provide equivalent
command line parameters and therefore usage interchangeability.
While doing this, combine some common mountgoop to mountprog.h
 1.4  26-Jul-2008  reinoud Add UDF 2.50 metadata partition creation to newfs_udf(8). It allows a
percentage to the volume space to be pre-allocated for metadata on format.
Implementations that can't extent the metadata partitions can thus use the
discs too.

Note that the kernel UDF code can't write to UDF 2.50 metadata partitions
yet; this is a work-in-progress.

Also note that the default formatting version choice is still version 2.01
i.e. without the metadata partition.
 1.3  19-Jun-2008  reinoud Allow UDF versions to be both specified as a hex value and as a float
value. Its now possible to specify version 2.50 as "2.50" or "0x250".
 1.2  19-Jun-2008  reinoud If the written out descriptor contains a file descriptor or an extended
file descriptor, update the location of the extended attribute space if
present.
 1.1  14-May-2008  reinoud branches: 1.1.2; 1.1.4;
Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
all operations can be performed on the file system though the
sheduling is currently optimised for archiving workloads.

mv(1)/rename(2) is currently only implemented for non-directories.
 1.1.4.4  28-Sep-2008  mjf Sync with HEAD.
 1.1.4.3  29-Jun-2008  mjf Sync with HEAD.
 1.1.4.2  02-Jun-2008  mjf Sync with HEAD.
 1.1.4.1  14-May-2008  mjf file newfs_udf.c was added on branch mjf-devfs2 on 2008-06-02 13:21:23 +0000
 1.1.2.2  18-May-2008  yamt sync with head.
 1.1.2.1  14-May-2008  yamt file newfs_udf.c was added on branch yamt-pf42 on 2008-05-18 12:30:54 +0000
 1.5.4.2  18-Feb-2009  snj Pull up following revision(s) (requested by reinoud in ticket #444):
sbin/newfs_udf/newfs_udf.8: revision 1.5
sbin/newfs_udf/newfs_udf.c: revision 1.7
sbin/newfs_udf/udf_create.c: revision 1.14
Use KiB MiB GiB instead of Kb Mb Gb
 1.5.4.1  18-Feb-2009  snj Pull up following revision(s) (requested by reinoud in ticket #444):
sbin/newfs_udf/newfs_udf.c: revision 1.6
sbin/newfs_udf/udf_create.c: revision 1.13
sbin/newfs_udf/udf_create.h: revision 1.3
* Fix -Wsign-compare issues.
* Add some XXXs noting where we might want to check for 16bit overflow.
* Use uintNN_t instead of int if the values is read from or written to
using udf_rwNN().
 1.5.2.2  17-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2. Pull in things that are new,
and pull in some things that were missed in the last sync.
 1.5.2.1  05-Aug-2008  wrstuden file newfs_udf.c was added on branch wrstuden-revivesa on 2008-09-17 04:43:59 +0000
 1.9.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.12.10.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.4.1  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.13.2.1  23-Jul-2013  riastradh sync with HEAD
 1.19.16.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed