From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Greaves Subject: Re: diskinfo script Date: Wed, 30 Apr 2008 12:06:04 +0100 Message-ID: <4818529C.1020603@dgreaves.com> References: <481766E5.8080900@tmr.com> <481784E5.4090307@tmr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <481784E5.4090307@tmr.com> Sender: linux-raid-owner@vger.kernel.org To: Bill Davidsen Cc: Linux RAID List-Id: linux-raid.ids Bill Davidsen wrote: > Bill Davidsen wrote: >> I was playing around doing some prototyping for a more extensive disk >> info reporter which will be written in perl, and it came to me that >> this script might be useful to someone, so I'll attach it here. The >> perl version will generate HTML, and CSV for configuration databases, >> show mount points, etc. This was an hour or so, mainly playing with >> the report format. Obviously you need to make it executable. >> >> I want it because I'm frequently asked to look at strange machines, >> and I want to see what used and how. I could do it all in script, but >> only to prove I can. ;-) >> >> *Enjoy!* >> > After some immediate feedback, I did an update on this to include some > patches and requested features. So here is the last version I'll put > here, with built-in help, examples, the option to use "GiB" instead of > "GB" if you care, and now should run on sh as well as bash. It currently > doesn't run on ksh, I have to look for my ksh book and see how to fix > the problem. > > If there is ever a version after this I'll just put it on a website, I > was dropping this to do something better. > The wiki? David