[CFT] Patch to bsdinstall to support root-on-ZFS and GELI

John-Mark Gurney jmg at funkthat.com
Tue Oct 8 21:21:10 UTC 2013


Devin Teske wrote this message on Tue, Oct 08, 2013 at 20:50 +0000:
> > 2. Why are you using camcontrol? That is guaranteed not to work on
> > non-CAM systems. You should use the GEOM ident string if you need an ID.
> 
> I imagine we could get the info from many places, and to be honest, I never
> knew about "diskinfo" until last week (but apparently it's been around since
> 5.x days).
> 
> The one place where I suspect camcontrol(8) usage is appropriate is the
> mini "disk inspector" dialog. The camcontrol inquiry output is specifically
> helpful if/when you're doing multipathing (and you need to identify which
> da# devices are duplicates of the same device -- given Serial#).
> 
> But I gather you mean for "disk description" in the device menu (for picking
> text to go along with the device name).
> 
> I'm open to using a different tool... or multiple tools. Do you think it would be
> better to just stick to one tool? or to query a few? (which ones win-out?)

diskinfo -v dumps the serial number for you under disk ident..  diskinfo
gets it from geom and most geoms properly present that info now...  or
at least probably anyones support by cam will do it automatically...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-current mailing list