On Fri, Nov 12, 2010 at 03:46:04PM -0800, Peter Taps wrote: > I need to write a shell script to get a list of all the disks in the > system and present the following information for each disk: > > 1. Product > 2. Vendor > 3. Serial Number > 4. Size
Look at the diskinfo binary in the SUNWexplo package. It'll give you everything you are looking for except for the size, but for that you could use kstat. I've found the size data to be unreliable at times, so YMMV. -- Jason Fortezzo forte...@mechanicalism.net _______________________________________________ storage-discuss mailing list storage-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/storage-discuss