-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2008-05-21 at 13:36 +0200, jdd sur free wrote:
Yes, it is quite simple, once you set it up. (known loop procedure)
this is not simple at all, long and disk usage intensive :-( (but it works :-)
Not so intensive... perhaps the dd part. Creating an ISO image is also disk intensive.
5) Create fstab entry for it.
well this will permanently use 4.4Gb of disk space :-(
Of course, but with the sizes of disks nowdays... But you can also create an script that recreates the image when needed, and remove it later. Notice that you can also use those 4 gig for normal storage. It is like another disk.
Possibly, there is a refinement to this procedure: the image size (bs=1MB * 4700) could be adjusted to an exact multiple of the DVD physical sector size. I'm unsure of the exact size. 2KiB?
bs=1024k count=4489 ? Could be. I'll have to note this. Ah, beetween your 2. and 3., add "umount empty_file". Do not forget, or when you try to mount the dvd it will say that it is dirty or already mounted. And it can not be fscked. I don't forget because I use a script to burn it: #!/bin/bash # fichero existe y es mas grande que cero if test -s "$1" ; then #Comprobando que el fichero no este montado ahora mismo MOUNT=`mount | grep $1` if test -n "$MOUNT" ; then echo "*** ERROR: ese dispositivo esta montado, no debo quemarlo:" echo $MOUNT else /sbin/hdparm -d -c -u /dev/hdc echo Esperando 10 segundos sleep 10 echo Quemando, paciencia time growisofs -Z /dev/dvd=$1 -dvd-compat -speed=8 # time growisofs -Z /dev/hdc=$1 sleep 5 echo Comprobando, mas paciencia... time nice cmp --bytes=4700000000 /dev/hdc $1 fi else echo "No existe el fichero imagen '$1'" echo "Este script sirve para quemar una imagen iso (o no iso) al dvd y compararla." fi The notes are in Spanish, if somebody wants I'll translate. The code itself is simple. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFINB5DtTMYHG2NR9URAj9gAJ9O7UnpkeExnHOkrHUL/HGtoh9QhACeIirB 1k5NkKNRR+1Sz/ZowqxoqvU= =LqR6 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org