Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Use disktool and system_profiler' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use disktool and system_profiler
Authored by: jyncroft on Dec 11, '03 10:13:31AM

Great hint!

For a complete command-line solution (maybe help someone do a script/GUI implementation) use the system_profiler (used to be AppleSystemProfiler on pre 10.3 systems I think).

Warning: do not use the system_profiler command by itself. Nothing bad will happen mind you, but it will spew out gobs and gobs (did I mention gobs) of data. use man system_profiler to narrow down your quest for data.

system_profiler SPIDEDataType will get you the IDE disk (incl. internal CD drives) information. You'll have to use a different DataType (see the man pages) to get info for drives connected via another interface.

Hope this helps!


[ Reply to This | # ]