View Single Post
  #7   (View Single Post)  
Old 9th October 2017
GarryR's Avatar
GarryR GarryR is offline
Real Name: Garry Ricketson
Spam Deminer
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 276
Default

I find these 2 commands very use full :
Code:
sysctl hw.disknames
and
'disklabel'
Code:
man disklabel
sysctl hw.disknames will give a list :
example:
Code:
$ sysctl hw.disknames
hw.disknames=sd0:7c45abe08beb4c01,cd0:,sd1:
Then you can use 'disklabel' :
example:
Code:
disklabel sd1
"sd1" or "sd0", what ever one you want to look at.
__________________
My best friends are parrots
Reply With Quote