Commit Graph

12 Commits

Author SHA1 Message Date
reinoud
43e731a9af Fix accidental use of logical && instead of binary & in rare case.
Bug noticed by Joerg and clang :)
2011-05-26 07:59:08 +00:00
reinoud
f6164dfe20 When requesting to disable metadata partitions, also disable low formatting.
When no meta and not low formatting we can lower the required UDF version.
2011-01-21 22:32:13 +00:00
reinoud
e08c1f2c44 Fix typo in comment 2011-01-21 22:10:51 +00:00
wiz
96a10eac53 Fix memory leaks. Found by cppcheck. 2011-01-04 23:42:48 +00:00
reinoud
b8b9c8efc5 Update TODO message; we can format with meta data partitions, only not yet for
BD-R, i.e. UDF 2.60.
2009-09-17 10:37:28 +00:00
lukem
0fdc53711f Use KiB MiB GiB instead of Kb Mb Gb 2009-01-18 00:21:09 +00:00
lukem
1881cc846a * 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().
2009-01-18 00:18:41 +00:00
pooka
99fed7264c 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
2008-08-05 20:57:45 +00:00
reinoud
6797eb00e2 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.
2008-07-26 20:20:56 +00:00
reinoud
bdd973a499 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".
2008-06-19 13:20:09 +00:00
reinoud
16c8051218 If the written out descriptor contains a file descriptor or an extended
file descriptor, update the location of the extended attribute space if
present.
2008-06-19 12:23:01 +00:00
reinoud
e979c658c9 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.
2008-05-14 16:49:47 +00:00