On Tue, 02 Oct 2012 10:20:22 -0400 Jean-Louis Martineau <[email protected]> wrote: > On 10/02/2012 10:10 AM, Jean-Louis Martineau wrote: > > > > The attached patch fix amstatus and amdump to report that the tape is > > write protected. > I mean amcheck and amdump. > > > > I do not have a tape drive on hand so I can't test it. I appreciate if > > someone can test it.
Sorry it took some time until I got round to this patch. I tested the patch against 3.3.1.svn.4677 and it works. The only problem I see, is that amcheck exit status is 0 and not 1 when the tape is write-protected. HNY, Attila -- Attila Bogár <[email protected]>
