+struct vol {
+ struct vol *v_next;
+ u_int16_t v_vid;
+ int v_flags;
+ char *v_path;
+ struct dir *v_root;
+ time_t v_mtime;
+
+ charset_t v_volcharset;
+ charset_t v_maccharset;
+ u_int16_t v_mtou_flags; /* flags for convert_charset in mtoupath */
+ u_int16_t v_utom_flags;
+ long v_kTextEncoding; /* mac charset encoding in network order
+ * FIXME: should be a u_int32_t ? */
+ size_t max_filename;
+ char *v_veto;
+ int v_adouble; /* adouble format: v1, v2, sfm ... */
+ int v_ad_options; /* adouble option NODEV, NOCACHE, etc.. */
+ char *(*ad_path)(const char *, int);
+ struct _cnid_db *v_cdb;
+ char v_stamp[ADEDLEN_PRIVSYN];
+ VolSpace v_limitsize; /* Size limit, if any, in MiB */
+ mode_t v_umask;
+ mode_t v_perm; /* default permission value OR with requested perm*/
+ mode_t v_dperm; /* default directories permission value OR with requested perm*/
+ mode_t v_fperm; /* default files permission value OR with requested perm*/
+ ucs2_t *v_u8mname; /* converted to utf8-mac in ucs2 */
+ ucs2_t *v_macname; /* mangled to legacy longname in ucs2 */
+ ucs2_t *v_name; /* either v_u8mname or v_macname */