[buug] Translation for Suns
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:
for td in `echo /dev/rmt/[0-9]`
if mt -f $td status > /dev/null 2>&1
mt -f $td status
... or something similar.
> Buug mailing list
> Buug at weak.org
More information about the buug