Commit Graph

55 Commits

Author SHA1 Message Date
christos d3037dba83 fix error messages containing \n 2015-06-16 23:18:54 +00:00
reinoud 4897154dae Fix volumesetname to comply to UDF 2.01 [2.2.2.5] 2015-01-02 21:01:12 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
christos 3e4993b396 fix unused variable warnings. 2013-10-19 01:09:58 +00:00
reinoud a5532a8260 Add the blockingnr determination for the -rom versions 2013-08-25 14:13:47 +00:00
tron 986f886c15 Fix tool build under Mac OS X by using gettimeofday(2) instead of
clock_gettime(2). This needs a proper auto-config check.
2013-08-10 23:25:35 +00:00
reinoud 857cc1af09 Fix possible 32 bit issues. In practice hard to reach but better be safe than
sorry.
2013-08-09 15:11:08 +00:00
reinoud 254934d244 Switch back program version to the version of the newfs_udf/makefs code.
While here, visit the 80 columns police :)
2013-08-06 13:15:30 +00:00
reinoud fd80b116d5 Oops, forgot to export a_udf_version() that checks if the input string is a
valid UDF version notation.
2013-08-06 12:49:13 +00:00
wiz 5d1c7f9125 Fix article. 2013-08-06 12:15:20 +00:00
wiz b37178189d Sort sections. Remove superfluous Ed. 2013-08-06 12:14:43 +00:00
reinoud 67b0bef892 Clarify volumeset name restrictions when specifying it in newfs_udf(8) 2013-08-06 11:57:25 +00:00
reinoud 933037aa09 Fix misplaced BUGS section and fix layout 2013-08-06 11:38:51 +00:00
reinoud 3551bde30d Fix memory leaks found by Coverity and fix memoryleaks in the new code 2013-08-06 08:18:08 +00:00
reinoud 950c47822d Fix newfs(8) to compile again. 2013-08-05 20:52:08 +00:00
joerg 9656a3f6dc Allow building UDF parts of makefs on !NetBSD. 2013-08-05 17:12:04 +00:00
reinoud 94ec67ed92 Fix memset() arguments to use the right type for sizeof() and streamline its
use of sizeof() to allways use the right type.
2013-08-05 16:44:58 +00:00
wiz 43ccd8ccbb Sort. 2013-08-05 14:28:48 +00:00
reinoud 1b03698582 Adjust newfs_udf to be sharing code with the new `makefs -t udf' to be
comitted.
2013-08-05 14:11:30 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
reinoud b26724915d Add comment to udf_do_rootdir(). Might eventually be moved to newfs_udf(8) 2013-07-18 12:50:51 +00:00
reinoud a2747c513b Initial split up for making newfs_udf(8) routines suitable for makefs_udf(8) 2013-07-18 12:44:21 +00:00
wiz 9f55e7c8e5 Sort sections. New sentence, new line. Fix macro. 2013-07-02 20:53:10 +00:00
reinoud c7950296a0 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.
2013-07-02 14:59:01 +00:00
reinoud 052045ad4c Small rewording of the examples section. 2013-06-29 20:41:47 +00:00
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