View Single Post
  #7   (View Single Post)  
Old 13th July 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Quote:
Originally Posted by BSDfan666 View Post
In the end, I think parsing the dmesg output may be the only option... poor FreeBSD users.
dmesg wont help. dmesg lists only drives, not volumes.

Quote:
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?
Nope, the closest alternative would be:

%sysctl kern.disks

PeterSteele: The above command plus some sort of listing /dev/ad0*, /dev/da0*...would be a solution for you
Reply With Quote