-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-03-18 at 09:24 -0000, G T Smith wrote:
The curious thing is that, on some runs, the first attempt to read the dvd fails with the message:
/dev/hdc: writable, no read permission
I have found that some checking of the output from wodim and growisofs allows the handling of time out and other transient errors. Bash is not really up to this kind of checking, it can be done but it is better to use something which is built for the job, I have a Perl module under development which encapsulates handling of some (but not all) the problems of this nature that I have encountered over time.
I have not dealt with encrypted DVDs so there might be some special gotchas with that element.
I don't think there was anything special with the output of growisofs that time: Burning... Executing 'builtin_dd if=IMAGEFILE of=/dev/dvd obs=32k seek=0' /dev/dvd: "Current Write Speed" is 8.2x1352KBps. 0/4700012544 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4700012544 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4700012544 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4700012544 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4700012544 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0% 0/4700012544 ( 0.0%) @0x, remaining ??:?? RBU 100.1% UBU 0.0% 589824/4700012544 ( 0.0%) @0.1x, remaining 3319:47 RBU 100.0% UBU 7.0% ... 4606263296/4700012544 (98.0%) @8.1x, remaining 0:10 RBU 100.0% UBU 81.5% 4643520512/4700012544 (98.8%) @8.1x, remaining 0:06 RBU 100.0% UBU 90.8% 4680777728/4700012544 (99.6%) @8.1x, remaining 0:02 RBU 57.3% UBU 90.8% builtin_dd: 2294928*2KB out @ average 6.3x1352KBps /dev/dvd: flushing cache /dev/dvd: closing track /dev/dvd: closing disc real 9m31.376s user 0m2.312s sys 0m34.318s And now that I think, the last time I tried K3B, it claimed the DVD failed comparisson. It could be this same problem. As to using bash or something else... it doesn't matter. My problem, which is burning and comparing, is solved, it works fine. What I'm curious is why the first attempt to read the dvd fails intermitently. I handle the case, no problem, but I'm curious as to the "why". As to the dvd being encripted, doesn't matter: it is just a burned image, and the mount process is different; shouldn't have any effect on this. /Shouldn't/, of course. Mmmm... The same script didn't complain under openSUSE 10.3, same type of images. I think it maybe some issue with hal/udev, maybe while trying to recognise what is inside the drive (empty, music, data...) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAknA78UACgkQtTMYHG2NR9UEWgCeK70/hmDaINEdu8p5Rk1zTra3 3tAAn3KNFmke0D2CpJuSqnguSQ4AaIQU =Oj01 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org