|
From: Roger <rog...@gm...> - 2013-12-27 01:39:27
|
For the past few months, I've experimented with UDF writing and tend to prefer
UDF when compared to ISO image format.
I'm really trying to read the CDW code, but not getting really far due to the
massive amount of require source code reading. :-/
(I got about as far as looking at the menus, and realizing the 'Create ISO
menu' would need to be heavily modified to allow or hook-in another image
writing type.)
Anyways, for historical reasons and those scanning the web for UDF writing
instructions, here's what I do withing Bash command line with relatively good
success. (Atypically as always, write first to read-write media before doing a
final write to write once media.)
# Burn Blu-Ray Movie using UDF Filesystem
# mkudffs--udfrev= 0x0201, 0x0200, 0x0150, and 0x0102
# Omitted, mkudffs uses 0x0201, and is best for BR media or any video related
# material.
# Create the file container for filesystem
$ truncate --size=50GB ./test.udf
# Make the UDF Filesystem. ('lvid' shows within Windows as the title volume
# name of the media.)
$ mkudffs --lvid="Name_of_DVD-BR" --utf8 ./test.udf
# Mount the container filesystem for reading & writing to
$ sudo mount -oloop,rw ./test.udf /mnt/tmp/
# Make the user the owner of the sub-folders
$ chown -R roger.roger /mnt/tmp/*
# Ensure recursive read and write permissions are set
$ chmod -R a+rX /mnt/tmp/*
# Copy (cp -ax) or sync files to mounted loop filesystem
$ rsync -ax --delete /Some/Files/ /mnt/tmp/
# Unmount the mounted filesystem (and maybe recheck files by remounting the
# filesystem)
$ sudo umount /mnt/tmp
# Can't write full contents using the maximum available size Blu-ray media as
# 256 MB is reserved by default for verification of files. This extra
# reservation of space can be disabled for write once media, having minimal to
# no neglible effects as it's likely used for read-write media.
# Disable pre-formating or spare space with "use-the-force-luke=spare:none",
saving 256MB
# dvd+rw-format -ssa=none /dev/sr0
Or during usage of growisofs:
# growisofs -use-the-force-luke=spare:none -dvd-compat -speed=4 -Z /dev/sr0=test.udf
--
Roger
http://rogerx.freeshell.org/
|