This function is a long obsolete function that was intended to support a version of the Sun Cluster product. In that product, the /dev/ filesystem had different notions of minor numbers that could require translation between "internal" (local to the node) and "external" (shared across the cluster) usages.
Only cluster aware products would have ever used this. It's extremely unlikely that any such products have ever existed that ran on Solaris 10 or later. (Perhaps unbundled Veritas file systems or something like that.)
Today this interface is a trivial wrapper around getminor().
There are no usages for it in gate, and it is believed that there no usages for it anywhere else either.
The manual page for this interface has factually incorrect information about when and where it can be used.
Updated by Garrett D'Amore 4 months ago
Additionally, the text has been steering folks away from this for a long time, with this false statement:
Drivers are required to replace calls to ddi_getminor.9f by
getminor(9F)) in order to compile under Solaris 10 and later
Updated by Electric Monk 4 months ago
- Status changed from Pending RTI to Closed
- % Done changed from 90 to 100
commit b75a8b718b0b6c50c43b47b15603947383771a04 Author: Garrett D'Amore <email@example.com> Date: 2022-08-05T00:38:47.000Z 14873 Retire ddi_getiminor() Reviewed by: Peter Tribble <firstname.lastname@example.org> Approved by: Andrew Stormont <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>