View Single Post
  #6   (View Single Post)  
Old 13th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The user asked how to display all "unmounted" disk devices. (Well, volumes..).

In the end, I think parsing the dmesg output may be the only option... poor FreeBSD users.

EDIT: Strange, browsing the FreeBSD CVS I found that HW_DISKNAMES is defined in sysctl.h? It's not documented in the man page though... can anyone check and see if the above works?

Last edited by BSDfan666; 13th July 2008 at 05:29 PM.
Reply With Quote