Amanda-Users

Re: Problems accessing my new autoloader

2007-11-22 16:45:28
Subject: Re: Problems accessing my new autoloader
From: Francis Galiegue <fg AT one2team DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 22 Nov 2007 22:38:50 +0100
Le Thursday 22 November 2007 20:44:16 Francis Galiegue, vous avez écrit :
> Le Thursday 22 November 2007 20:22:13 Paul Bijnens, vous avez écrit :
> > Marc Muehlfeld wrote:
> > > Francis Galiegue schrieb:
> > >> And what if you try to read the label by hand? Ie, try at the command
> > >> line:
> > >>
> > >> dd if=/dev/nst0 bs=32k count=1
> > >>
> > >> Does anything appear or do you have an error?
> > >
> > > # dd if=/dev/nst0 bs=32k count=1
> > > AEAFDA: TAPESTART DATE P TAPE KAS001
> >
> > AEAFDA ??
> > that should have been "AMANDA".
> > What is changing your M's into E's and N's into F's ??
>
> OK, I was wondering about this too... Also, the X seems to have been
> changed for P, if I'm not mistaken?

Heh...

fg@erwin ~ $ perl -e "printf(\"%d\n\", (ord('E') - ord('M'))%13)"
5
fg@erwin ~ $ perl -e "printf(\"%d\n\", (ord('F') - ord('N'))%13)"
5
fg@erwin ~ $ perl -e "printf(\"%d\n\", (ord('P') - ord('X'))%13)"
5

-- 
Francis Galiegue, fg AT one2team DOT com - Ingénieur système
[ATTENTION : CHANGEMENT DE COORDONNÉES !]
One2team - 42 Av. Raymond Poincaré - 75116 PARIS CEDEX
+33683877875, +33178945552