Mailinglist Archive: opensuse-factory (757 mails)

< Previous Next >
Re: [opensuse-factory] tagmedia question
  • From: Steffen Winterfeldt <snwint@xxxxxxx>
  • Date: Thu, 4 May 2006 17:22:15 +0200 (CEST)
  • Message-id: <Pine.LNX.4.63.0605041710170.7458@xxxxxxxxxxxxxx>
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)
> > > houghi@penne : 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 the tags stored in the iso.
>
> It also places them there.
> root@penne : tagmedia
> usage: tagmedia [options] iso
> Add/remove tags to SUSE installation media.

I meant "it shows you the tags stored in the iso, _NOT_ what md5sum of the iso gives".

> I looked at /usr/share/doc/packages/checkmedia/README and what I think is
> happening is that the pad=150 makes it so that the MD5SUM itself is not
> also calculated

No, that's not true.

> > > The next thing is when I do a`checkmedia
> > > ~/iso/10.1_RC3/DVD_DIR/SUSE-10.1-0-DVD.iso` I get: not an iso
> >
> > I'd say you don't have read permissions for that file.
>
> I DO have read permission. I have even tried making it the same permission
> as the SUSE iso and still get the same answer.

The only way you can get the 'not an iso' error is when it fails to read the
first 33k of that file. So either it is completely broken or you don't have
read permissions.

Try strace if you don't believe me.


Steffen

< Previous Next >
Follow Ups