Symantec logo

Data structures

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:

#define FSAP_NAMESZ 64

#define FSAP_MAXDEVS 256

#define FSDEV_NAMESZ 32

struct fsap_info { /* policy structure */

char ap_name[FSAP_NAMESZ]; /* policy name */

uint32_t ap_flags; /* FSAP_CREATE | FSAP_INHERIT |

FSAP_ANYUSER */

uint32_t ap_order; /* FSAP_ORDER_ASGIVEN |

FSAP_ORDER_LEASTFULL |

FSAP_ORDER_ROUNDROBIN */

uint32_t ap_ndevs; /* number of volumes */

char ap_devs[FSAP_MAXDEVS][FSDEV_NAMESZ];

/* volume names associated with

this policy */

};

struct fsdev_info { /* volume structure */

int dev_id; /* a number from 0 to n */

uint64_t dev_size; /* size in bytes of volume */

uint64_t dev_free;

uint64_t dev_avail;

char dev_name[FSDEV_NAMESZ]; /* volume name */

};