Todd T. Fries schrieb:
> tried
>
> bioctl -h softraid0
> lately?
Well, yes... but it only works if I already activated the softraid device...
# bioctl -h softraid0
Volume Status Size Device
softraid0 0 Online 3.8G sd1 CRYPTO
0 Online 3.8G 0:0.0 noencl <sd0a>
# bioctl -d sd1
# bioctl -h softraid0
...but I would like to know what kind of type sd0a is before I try to use
bioctl -c [01C] -l /dev/... softraid0
to be able to use bioctl from a script, only for CRYPTO.
Only other way I currently see is to set the label from disklabel of sd0
to some name and check what to do from that information.