From: Gary Schmidt <gschmidt@oz.quest.com>
Subject: Counting Disks...
Date: 2000/08/01 [thread overview]
Message-ID: <39865BBC.AF132DF7@oz.quest.com> (raw)
How, programmatically _and_ portably to determine how many (physical)
disks are attached to a Tru64 box??
In 4.x, we could loop using table(TBL_DKINFO,...), and stop on .di_name
== "dk".
With 5.x, it seems that loop table(TBL_DKINFO,...) until failed, then
decrement count by one gives the number.
Opinions, pointers, better ideas all welcome.
Cheers,
Gary B-)
next reply other threads:[~2000-08-01 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-01 4:00 Gary Schmidt [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-08-01 4:00 Counting Disks Gary Schmidt
2000-08-02 4:00 ` Gary Schmidt
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox