[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How many drives?



Ashley M. Kirchner wrote:

What's a quick (even dirty) way of finding out how many HDs a system has? Assuming that:

If /sys/block is available then it's relatively simple to scan through there looking for drives. I wrote some shell script functions to do this. They can be found within the source of virt-p2v (http://et.redhat.com/~rjones/virt-p2v/).

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]