lsm_disk_location_get - Man Page

Retrieves the location for the disk.

Synopsis

const char * lsm_disk_location_get (lsm_disk *d);

Arguments

d

Disk to retrieve location for.

Version

1.3

Description

Retrieve the disk location.

Note

Address returned is valid until lsm_disk gets freed, copy return value if you need longer scope. Do not free returned string.

Capability

LSM_CAP_DISK_LOCATION

Return

string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer or not supported.

Info

April 2021 Libstoragemgmt C API Manual