Re: [opensuse-factory] tagmedia question

2006-05-09 Thread Ulrich Windl
On 9 May 2006 at 14:16, Volker Kuhlmann wrote: [...] Option 3: actually fix the kernel. Perhaps in 2016 ;) [...] So the current kernel still does read-ahead past the end of the device? I had reported that for SuSE 9.0 I think, and the blabla was that I would be using an uncertified

Re: [opensuse-factory] tagmedia question

2006-05-09 Thread Volker Kuhlmann
So the current kernel still does read-ahead past the end of the device? I had reported that for SuSE 9.0 I think, and the blabla was that I would be using an uncertified DVD/CD-RW drive. While I don't want to argue about kernel developer's knowledge, this does sound like buck-passing to

Re: [opensuse-factory] tagmedia question

2006-05-09 Thread Ulrich Windl
On 9 May 2006 at 20:22, Volker Kuhlmann wrote: It's probably difficult to fix because the kernel block I/O layer doesn't know anything about isofs (and mustn't - could be reiserfs on the CD), and the whole CD technology doesn't supply the information of what the last recorded block is, or

Re: [opensuse-factory] tagmedia question

2006-05-09 Thread Volker Kuhlmann
So if I dd if=/dev/cdrom, will the kernel stop accessing the device when the first read error appears? Sometimes. And some other times, it will keep on reading, on each block producing huge timeouts and hangs. And sometimes, it will read the last block fine (cat /dev/dvdrom), but of course

Re: [opensuse-factory] tagmedia question

2006-05-09 Thread Patrick Shanahan
* Volker Kuhlmann [EMAIL PROTECTED] [05-09-06 19:10]: Dunno, it might not work reliably for CDs. I don't think SCSI was made for CDs, so what happens if you demand info which isn't there? From the firmware of a couldn't-care-less commodity item? True, SCSI was not made for CDs, but the first

Re: [opensuse-factory] Learning Perl (Was: Re: [opensuse-factory] tagmedia question)

2006-05-08 Thread Ulrich Windl
On 5 May 2006 at 16:54, houghi wrote: However, I am not a programmer, nor will I ever be one. If at most I am a mediocre scriptwriter. Again, perl will be a great langage, it is just not for me. Maybe consider that quote of Mr. Wittgenstein (German): The limits of my language are the limits

Re: [opensuse-factory] tagmedia question

2006-05-08 Thread Steffen Winterfeldt
On Fri, 5 May 2006, houghi wrote: On Fri, May 05, 2006 at 02:39:13PM +0200, Steffen Winterfeldt wrote: On Fri, 5 May 2006, houghi wrote: On Fri, May 05, 2006 at 02:22:26PM +0200, Steffen Winterfeldt wrote: snip You need to match the --pad given to tagmedia with what you give

Re: [opensuse-factory] tagmedia question

2006-05-08 Thread houghi
On Mon, May 08, 2006 at 10:32:22AM +0200, Steffen Winterfeldt wrote: So wich should I use? -pad or -no-pad. For me there is no difference, but that might not be true for everybody. use -pad. Ok, will do. Thanks. And what exactly is 'the same result'? That I was able to get a positive

Re: [opensuse-factory] tagmedia question

2006-05-08 Thread Eberhard Moenkeberg
Hi, On Tue, 9 May 2006, Volker Kuhlmann wrote: Option 1: make the ISO filesystem several blocks too large by adding zero-filled blocks at the end. Right. ISO-9660 says two seconds silence at EOM, and that is equivalent to a padding of 300 kBytes (75 frames per second of 2048 klbytes each.

[opensuse-factory] Learning Perl (Was: Re: [opensuse-factory] tagmedia question)

2006-05-05 Thread Ulrich Windl
On 5 May 2006 at 4:20, houghi wrote: I would love to have the tagmedia included into makeSUSEdvd, but I have NO idea how to do that. I can't read perl. :-( Actually it's a lot like C, and I use it where I used C before. I basically learned (the essentials of) Perl in one week-end using some

Re: [opensuse-factory] Learning Perl (Was: Re: [opensuse-factory] tagmedia question)

2006-05-05 Thread Tom Horsley
On Fri, 2006-05-05 at 08:58 +0200, Ulrich Windl wrote: On 5 May 2006 at 4:20, houghi wrote: I would love to have the tagmedia included into makeSUSEdvd, but I have NO idea how to do that. I can't read perl. :-( Actually it's a lot like C, and I use it where I used C before. I

Re: [opensuse-factory] tagmedia question

2006-05-05 Thread Pascal Bleser
houghi wrote: ... #TAGMEDIA : Add MD5SUM to the iso if tagmedia is available. TAGMEDIA () { if [ -e `type -p tagmedia` ] then ... Replace if [ -e `type -p tagmedia` ] then by if type -p tagmedia /dev/null; then Will avoid type giving an error message on stderr when

Re: [opensuse-factory] tagmedia question

2006-05-05 Thread Steffen Winterfeldt
On Fri, 5 May 2006, houghi wrote: On Thu, May 04, 2006 at 01:54:48AM +0200, houghi wrote: SUSE uses tagmedia to check the media. I used the following command (and outcome) [EMAIL PROTECTED] : tagmedia --md5 --pad 150 --check \ ~/iso/10.1_RC3/DVD_DIR/SUSE-10.1-0-DVD.iso

Re: [opensuse-factory] Learning Perl (Was: Re: [opensuse-factory] tagmedia question)

2006-05-05 Thread houghi
On Fri, May 05, 2006 at 08:58:12AM +0200, Ulrich Windl wrote: On 5 May 2006 at 4:20, houghi wrote: I would love to have the tagmedia included into makeSUSEdvd, but I have NO idea how to do that. I can't read perl. :-( Actually it's a lot like C, and I use it where I used C before. I

Re: [opensuse-factory] tagmedia question

2006-05-05 Thread houghi
On Fri, May 05, 2006 at 01:23:33PM +0200, Pascal Bleser wrote: houghi wrote: ... #TAGMEDIA : Add MD5SUM to the iso if tagmedia is available. TAGMEDIA () { if [ -e `type -p tagmedia` ] then ... Replace if [ -e `type -p tagmedia` ] then by if type -p

Re: [opensuse-factory] Learning Perl (Was: Re: [opensuse-factory] tagmedia question)

2006-05-05 Thread houghi
On Fri, May 05, 2006 at 02:32:34PM +0200, Steffen Winterfeldt wrote: I know it has a lot more power. It is just that I can't do it. I am not even good at Bash. :-) perl comes with an extensive amount of documentation. Try 'man perl' for an overview. And it is a language that is easy to get

Re: [opensuse-factory] Learning Perl (Was: Re: [opensuse-factory] tagmedia question)

2006-05-05 Thread houghi
On Fri, May 05, 2006 at 04:12:10PM +0200, Peter Jakobi wrote: The Good: Not for me. - saying 1 means there are many idiomatic conventions to use Perl. Say just rewrite a C program 1:1 in perl, upto C's for and while statements, and your convention for translation a case cascade. I

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread Steffen Winterfeldt
On Thu, 4 May 2006, houghi wrote: SUSE uses tagmedia to check the media. I used the following command (and outcome) [EMAIL PROTECTED] : tagmedia --md5 --pad 150 --check \ ~/iso/10.1_RC3/DVD_DIR/SUSE-10.1-0-DVD.iso md5sum=99b7d0c508d213aa0c9ab6edfad56ef1 pad=150 check=1 tagmedia shows you

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread Ulrich Windl
On 4 May 2006 at 12:03, Steffen Winterfeldt wrote: yast checkmedia show you the md5sum of the final iso, which, given the current state of cryptography and computing power can not be stored in the iso itself, (...) I always wondered where K3B finds the checksum to check an ISO image

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread Steffen Winterfeldt
On Thu, 4 May 2006, Ulrich Windl wrote: On 4 May 2006 at 12:03, Steffen Winterfeldt wrote: yast checkmedia show you the md5sum of the final iso, which, given the current state of cryptography and computing power can not be stored in the iso itself, (...) I always wondered where K3B

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread houghi
On Thu, May 04, 2006 at 12:03:56PM +0200, Steffen Winterfeldt wrote: On Thu, 4 May 2006, houghi wrote: SUSE uses tagmedia to check the media. I used the following command (and outcome) [EMAIL PROTECTED] : tagmedia --md5 --pad 150 --check \ ~/iso/10.1_RC3/DVD_DIR/SUSE-10.1-0-DVD.iso

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread Steffen Winterfeldt
On Thu, 4 May 2006, houghi wrote: On Thu, May 04, 2006 at 12:03:56PM +0200, Steffen Winterfeldt wrote: On Thu, 4 May 2006, houghi wrote: SUSE uses tagmedia to check the media. I used the following command (and outcome) [EMAIL PROTECTED] : tagmedia --md5 --pad 150 --check \

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread houghi
On Thu, May 04, 2006 at 05:22:15PM +0200, Steffen Winterfeldt wrote: Try strace if you don't believe me. It is not so much as not believing you. It is wanting to know how to get it done correctly. houghi -- Nutze die Zeit. Sie ist das Kostbarste, was wir haben, denn es ist unwiederbringliche

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread Kenneth Schneider
On Thu, 2006-05-04 at 12:12 +0200, Ulrich Windl wrote: On 4 May 2006 at 12:03, Steffen Winterfeldt wrote: yast checkmedia show you the md5sum of the final iso, which, given the current state of cryptography and computing power can not be stored in the iso itself, (...) I always

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread houghi
On Thu, May 04, 2006 at 12:19:00PM -0400, Kenneth Schneider wrote: On Thu, 2006-05-04 at 12:12 +0200, Ulrich Windl wrote: On 4 May 2006 at 12:03, Steffen Winterfeldt wrote: yast checkmedia show you the md5sum of the final iso, which, given the current state of cryptography and

Re: [opensuse-factory] tagmedia question

2006-05-04 Thread houghi
On Thu, May 04, 2006 at 01:54:48AM +0200, houghi wrote: SUSE uses tagmedia to check the media. I used the following command (and outcome) [EMAIL PROTECTED] : tagmedia --md5 --pad 150 --check \ ~/iso/10.1_RC3/DVD_DIR/SUSE-10.1-0-DVD.iso md5sum=99b7d0c508d213aa0c9ab6edfad56ef1 pad=150