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]

Reply via email to