Project

General

Profile

« Previous | Next » 

Revision 12cf1d00

Added by Max Matveev about 14 years ago

  • ID 12cf1d00080c28639960ba560dc3dff85cc0dc15

Use devinfo library to get information about pretty disk names

Translating from disk names used by ZFS to the instances in disk instance
domain is not always straight forward: pretty disk names use bus address
to identify target and bus address is not always the same as instance in
kstat. Libdevinfo provides an API (a convoluted one) to get the path to
the symlink under /dev from the first minor device for a particular disk.

  • added
  • modified
  • copied
  • renamed
  • deleted