>> >Why doesn't Amanda use the following portable, non-destructive write test:
>> >
>> >read label; amlabel -f config label
...
>AFAIK the label has a fixed size of 64kB ...
It's 32 KBytes, but be that as it may ...
>so writing it over itself should not change a single byte. ...
It doesn't change anything in the label (actually, it might update
the datestamp, but that's not the issue). My point is that it makes
everything past the label inaccessible, which is not what I would call
"non-destructive".
And the original request (read label; amlabel -f config label) is
functionally what the -w option of amcheck does, so Amanda already has
this "feature" for anyone who wants it.
>Johannes Niess
John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]