On 2007.06.12 23:07, RB wrote:
On 6/12/07, Phillip Susi
wrote: The media must be formatted for packet writing mode and you must use a block size equal to the packet size ( 32k by default ).
I wish I weren't so dense. I thought the default packet size for optical media was 2k - where do you get 32k?
Regardless, I can't get any of the UDF formatting tools to do anything anyway 'mkudffs -r 0x0150 --media-type=worm /dev/hdc 359845' fails silently with EROFS and EBADF; 'cdrwtool -d /dev/hdd -u 359845' runs a bit, then fails with 'bad sector' IDE errors.
Is the comment about formatting the media an esoteric one or do you know something about one of the tools I'm unaware of? -- To unsubscribe, e-mail: packet-writing+unsubscribe@opensuse.org For additional commands, e-mail: packet-writing+help@opensuse.org
RB, The packet/block size on CDs is indeed 2k. On DVDs, its 32kB, however, the logical block size is faked by the drive to be 2k to get standards compliance. That means a DVD drive does read/modifiy/writes 16 times for every 2k packet you write. This reuslts in a huge slowdown. Writing 32kB blocks is much faster. For CD-RW media you must format the media before your mount it. A format involves writing the entire surface of the disk. I haven't tried DVD-RW media. With DVD+RW media, packet writing is not required. DVD+RW supports proper random access and can support the filesystem of your choice. However, UDF is still a good choice. With the limited write life of DVD +RW, journaling and defualt -o rw mounts must be avoided. Its all at http://fy.chalmers.se/~appro/linux/DVD+RW/ Regards, Roy Bamford -- To unsubscribe, e-mail: packet-writing+unsubscribe@opensuse.org For additional commands, e-mail: packet-writing+help@opensuse.org