You can view the fsap_info
and fsdev_info
data structures in the vxfsutil.h
header file and libvxfsutil.a
library file.
See the vxfsutil.h
header file and libvxfsutil.a
library file.
The data structures are provided here for quick reference:
struct fsap_info { /* policy structure */
char ap_name[FSAP_NAMESZ]; /* policy name */
uint32_t ap_flags; /* FSAP_CREATE | FSAP_INHERIT |
uint32_t ap_order; /* FSAP_ORDER_ASGIVEN |
uint32_t ap_ndevs; /* number of volumes */
char ap_devs[FSAP_MAXDEVS][FSDEV_NAMESZ];
/* volume names associated with
struct fsdev_info { /* volume structure */
int dev_id; /* a number from 0 to n */
uint64_t dev_size; /* size in bytes of volume */
char dev_name[FSDEV_NAMESZ]; /* volume name */