Please enter search query.
Search <book_title>...
Veritas™ File System Programmer's Reference Guide - Solaris
Last Published:
2018-08-24
Product(s):
InfoScale & Storage Foundation (7.2)
Platform: Solaris
- Veritas File System software developer's kit
- File Change Log
- About the File Change Log file
- Record types
- File Change Log tunables
- Application programming interface for File Change Log
- API functions
- File Change Log record
- Copying File Change Log records
- Veritas File System and File Change Log upgrade and downgrade
- Reverse path name lookup
- Multi-volume support
- Named data streams
- Veritas File System I/O
- Caching advisories
- Extents
- Thin Reclamation
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 */ };
Note:
New versions of these structures: fsap_info2 and fsdev_info2, and the related APIs (e.g. vxfs_vol_enumerate2, vxfs_ap_define2) have been added for the recent releases, to return additional information. See vxfsutil.h for more info.