Bug#360527: udftools: serious lack of documentation
Hello Mau, I don't use udftools myself. I'm always open for suggestions on how to improve its documentation, but I need other people's help for this. The following recipe is from the German c't magazine (8/2006,p.122) and is advertised as the right way to do it for DVD-RAM. If this works for you (possibly adjusted for DVD-RW), I can include it in the package's README.Debian. Format the DVD with: mkudffs --udfrev=0x0150 --spartable=2 --media-type=dvdram /dev/pktcdvd/0 The above is for UDF 1.50, use --udfrev=0x0201 for UDF 2.01. The version decision has mostly to do with compatibility: - Windows 98/ME can read up to v1.02 - Win2k, Mac OS 9, Linux 2.4 can read up to v1.50 - Win XP/2003 up to v2.01 - Linux 2.6 up to v2.60 For normal data, UDF 1.50 is OK. UDF 2.00 and 2.01 introduce additional functionality for streaming audio/video media. To mount the disk, something like this is needed in /etc/fstab: /dev/pktcdvd/0 /media/dvd-ram udfnoatime,rw,sync,user,noauto 0 0 Hope this helps - please give me feedback if you try it out! Cheers, Richard -- __ _ |_) /| Richard Atterer | \/¯| http://geht.net.gibts.bei.atterer.net ¯ '` ¯
Bug#360527: udftools: serious lack of documentation
Hi Richard thank you very much for your hints: around 3.30 tonight (...) for the first time I could format a DVD-RW with UDF filesystem! An additional step was needed to make this work; these are in detail the steps I made: 1. prepare the media in restricted overwrite mode: # dvd+rw-format -force /dev/hdX 2. write an empty session spanning the whole media (it seems that without this step any attempt to create the UDF filesystem will fail: this is the step I was missing, I found about it at http://www.sabi.co.uk/Notes/linuxNotes.html, many thanks to the author!): # growisofs -Z /dev/hdX=/dev/zero 3. if not already done, edit /etc/default/udftools to register the drive for packet writing and launch /etc/init.d/udftools start; 4. write the UDF structures to the disc (I tested both dvdram and cdrw media types with success... I don't really know the difference between these settings but it seems that there isn't a specific setting for DVD-RW): # mkudffs --udfrev=[0x0150|0x0201] --spartable=2 --media-type=[dvdram|cdrw] /dev/pktcdvd/[the pktcdvd device here] 5. mount the prepared disc (the noatime option is very important as it reduces the amount of writes to the device): # mount -t udf -o rw,noatime,sync /dev/pktcdvd/[the pktcdvd device here] /media/dvdrw 6. now root should be able to read, write and delete from/to the disc: if regular users should be allowed to read/write the media, adjust permissions as needed; 7. eventually add a record to /etc/fstab. Hope it helps... thank you very much Mau -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#360527: udftools: serious lack of documentation
Package: udftools Version: 1.0.0b3-11 Severity: normal I bought a couple of DVD-RW and tried for 2 weeks to prepare them for UDF packet writing without success. Every time I looked for some documentation on the web but every attempt I made ended without success. After preparing the media in restricted overwrite mode with dvd+rw-format -force=full /dev/hda I tried to create an UDF filesystem on it with mkudffs -r 0x0150 /dev/hda: this command _always_ printed on my console trying to change type of multiple extents without even try to write to the media. By specifying the number of blocks it seemed to work, but the result was an unmountable media (by the command 'mount -t udf -o rw,noatime /dev/pktcdvd/0 /mnt/dvdrw' always failed echoing wrong fs type, bad option, bad superblock on /dev/pktcdvd/0; dmesg showed UDF-fs: No partition found (1). I ended up thinking that those specific media were not compatible with my drive, until I booted into windows: after the very first attempt with Nero InCD I've got my media formatted and perfectly usable with linux and pktcdvd. The need for windows has been even more frustrating than the unsuccessful attempts I've made before. I really wonder if I missed some doc, or if DVD-RW media are still not usable with pktcdvd, or if simply there is some bug in udftools which prevents such operations. Thanks Mau -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (200, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-1-686-smp Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: LC_ALL set to [EMAIL PROTECTED]) Versions of packages udftools depends on: ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy ii libc6 2.3.6-4GNU C Library: Shared libraries an ii libreadline5 5.1-7 GNU readline and history libraries ii makedev 2.3.1-80 creates device files in /dev udftools recommends no packages. -- debconf information: * udftools/makedev-ask: Create device files -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]