Has anyone managed to write a DVD with a UDF filesystem on Linux?
I am ultimately trying to create a DVD with files on it larger than
2GB. ISO9660 doesn't support this.
I've got this working with ext2, but the downside is that the DVD can be
read on Linux only (yes, I have heard of ext2fs for 'doze ...).
This is on RHEL3 with kernel 2.4.21 (includes rw support for UDF). I have
tried two different options. A file with UDF filesystem was created, mounted
via loopback, files copied over, unmount, then tried to write it with dd and
growisofs. The errors were:
# growisofs -overburn -Z /dev/scd1=dvdfile.img
Executing 'builtin_dd if=dvdfile.img of=/dev/scd1 obs=32k seek=0'
:-( /dev/scd1: 2295104 blocks are free, 2298368 to be written!
:-! ignoring...
/dev/scd1: "Current Write Speed" is 6.1x1385KBps.
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
0/4700372992 ( 0.0%) @0x, remaining ??:??
:-[ WRITE at LBA=40000000h failed with SK=2h/ASC=04h/ACQ=07h]: No medium found
:-( write failed: No medium found
Try dd:
# dd if=dvdfile.img of=/dev/scd1 obs=32k seek=0 dd: opening `/dev/scd1': Read-only file system
In both cases, a fresh, unused medium was present.
Another thing I've tried is pktsetup from the udftools package, but I'm not
sure this kernel supports packets for block devices, and there is no patch
to be downloaded at http://packet-cd.sourceforge.net/.
# pktsetup /dev/pktcdvd0 /dev/scd1
ioctl: Inappropriate ioctl for device
# ll /dev/pktcdvd0
---------- 1 root root 0 Oct 23 13:05 /dev/pktcdvd0
# mkudffs /dev/pktcdvd0
trying to change type of multiple extents
#
Any ideas?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!