Commit Graph

30 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
wiz
1f03b58936 Sort options and option descriptions. Fix a typo. New sentence, new line. 2011-04-28 17:17:51 +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
mbalmer
c84c875a15 Bump date. 2009-12-23 09:18:48 +00:00
mbalmer
8a65aabe5b Fix typo in command output. 2009-12-23 09:13:21 +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
reinoud
f30b0e943b Fix newfs_udf to create a valid disc images on bigendian machines. 2009-05-19 12:13:02 +00:00
lukem
ef685eeea9 Enable WARNS=4 by default except for:
dump  dump_lfs  fsck_ffs  fsck_lfs  fsdb  mount_smbfs
	newfs_ext2fs  newfs_lfs  resize_lfs  setkey
2009-04-11 07:58:11 +00:00
dholland
cfacc31dc0 fix typo: "aprox." -> "approx." (approximate). 2009-02-15 08:23:31 +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
he
41daabb7fc Ensure that all the files in SRCS are *.c files (there were some
files matching *.o (!) in the list).  Thanks to cube@ for spotting
what I could not see.  Should fix issue with UPDATE builds across
the recent time_t merge and associated shared lib major bumps.
2009-01-14 20:38:53 +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
0cbd9f8bcc Use the new macros defined in ecma167-udf.h and also calculate the extended
attribute header crc check; not just the tag sum.
2008-06-24 15:37:42 +00:00
reinoud
77c6f83b52 Rename functionname to be more in sync with the kernel function naming. 2008-06-22 18:18:02 +00:00
reinoud
165572357f Initialise l_ea though technically not nessisary since its space is claimed
by a calloc() its more clear to explicitly initialise it to prevent
accidents might the routine be later changed.
2008-06-22 18:15:33 +00:00
wiz
d23e93082f Sort options.
New sentence, new line.
Use more markup.
Drop trailing whitespace.
Bump date for previous.
2008-06-21 17:11:03 +00:00
reinoud
9c4be68820 DO set the birthtime please.... 2008-06-21 13:12:33 +00:00
reinoud
e1f31734bf Factor out extended attribute header creation. The VAT and extended time
descriptors are now added by this function.

Extended attribute for birthtime added to (non-extended) file descriptors.
2008-06-20 22:41:42 +00:00
reinoud
45881dadc7 Remove superfluous crc and checksum calculations when we are already post
processing it later on writeout.
2008-06-19 13:35:26 +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
ea583bb523 Don't keep a running pointer but calculate directly the data offset to
prepare for factoring out.
2008-06-19 12:33:54 +00:00
reinoud
f0ae557b3d Move extended attribute header creation from VAT to all (non-extended) file
descriptor creations.
2008-06-19 12:24:58 +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
a0bade49b0 Clarify hack to move LVID sequence forward if there are bad blocks there
since the automatic bad block skipping is not yet done.
2008-06-19 10:25:51 +00:00
reinoud
fd86ec116b Fix commentZ 2008-06-19 10:23:31 +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