Home > Veritas Storage Foundation™ File System Manual Pages
VXFS_AP_ALLOC2 (3) |
Library Functions |
cc -I /opt/VRTS/include -L /opt/VRTS/lib
-l vxfsutil -ldl
#include <sys/types.h>
#include <vxfsutil.h>
struct fsap_info2 \(** vxfs_ap_alloc2(uint32_t ncomp, uint32_t flags);
To use this function, specify -l vxfsutil while linking.
The fsap_info2 structure is freed by calling vxfs_ap_free2().
Possible values for flags are:struct fsap_info2 { char ap_name[FSAP_NAMESZ]; uint32_t ap_flags; uint32_t ap_order; uint64_t ap_chunk; uint32_t ap_ncomp; uint32_t ap_pad; union { char apc_vols[1][FSVOL_NAMEZ]; char apc_subp[1][FSAP_NAMEZ]; } ap_comp; }; #define ap_vols ap_comp.apc_vols #define ap_subp ap_comp.apc_subp
- FSAP_ANYUSER
- The policy can be assigned by non-privileged users. By default, only privileged users can assign policies.
- FSAP_SUBPOLICIES
- The policy definition will contain the names of other allocation policies in its component list. Without this flag, the component list will contain volume names. A policy can refer to either subpolicies or volumes, but not to both.
Last updated: 7 May 2007
Copyright ©2009 Symantec Corporation
All rights reserved.