Hello, How does one convert a device string (for instance "cgd0a", "cgd1d") to/from a dev_t? For wd*, finddevice() (found in sys/kern/kern_subr.c) can be used -- but it appears that cgd* aren't listed in alldevs, so it returns NULL. -- Kind regards, Jan Danielsson
Attachment:
signature.asc
Description: OpenPGP digital signature