[buug] Translation for Suns
David S.
dgjs at acm.org
Fri Nov 24 11:26:43 PST 2000
On Fri, Nov 24, 2000 at 10:54:59AM -0800, Feedlebom wrote:
>
>
> On Thu, 23 Nov 2000, Brian Pecson wrote:
>
> > /sbin/scu show edt
> >
> > in Digital to get a list of DAT drives on a given system, but find that
> > this command does not work with Suns. I've found some other commands that
> > give information on DAT drives on Suns, but only if you know the name of
> > the device. Does anyone know how to get a full list (with details) of the
> > tape drives on a Sun?
>
> I don't believe there is a standard tool in Solaris to do this.
>
Roll your own:
#! /bin/sh
for td in `echo /dev/rmt/[0-9]`
do
if mt -f $td status > /dev/null 2>&1
then
echo $td
mt -f $td status
fi
done
... or something similar.
David S.
> -Fedl
>
>
> _______________________________________________
> Buug mailing list
> Buug at weak.org
> http://www.weak.org/mailman/listinfo/buug
More information about the buug
mailing list