/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:38:03 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:16 _$11$DUA933:[BUILD.SDL]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $MNTDEF ***/ #ifndef __MNTDEF_LOADED #define __MNTDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*+ */ /* */ /* FLAG BITS FOR THE $MOUNT SYSTEM SERVICE. */ /* */ /*- */ #define MNT$M_FOREIGN 0x1 #define MNT$M_GROUP 0x2 #define MNT$M_NOASSIST 0x4 #define MNT$M_NODISKQ 0x8 #define MNT$M_NOHDR3 0x10 #define MNT$M_NOLABEL 0x20 #define MNT$M_NOWRITE 0x40 #define MNT$M_OVR_ACCESS 0x80 #define MNT$M_OVR_EXP 0x100 #define MNT$M_OVR_IDENT 0x200 #define MNT$M_OVR_SETID 0x400 #define MNT$M_READCHECK 0x800 #define MNT$M_SHARE 0x1000 #define MNT$M_MESSAGE 0x2000 #define MNT$M_SYSTEM 0x4000 #define MNT$M_WRITECHECK 0x8000 #define MNT$M_WRITETHRU 0x10000 #define MNT$M_NOCACHE 0x20000 #define MNT$M_OVR_LOCK 0x40000 #define MNT$M_NOMNTVER 0x80000 #define MNT$M_NOUNLOAD 0x100000 #define MNT$M_TAPE_DATA_WRITE 0x200000 #define MNT$M_NOCOPY 0x400000 #define MNT$M_NOAUTO 0x800000 #define MNT$M_INIT_ALL 0x1000000 #define MNT$M_INIT_CONT 0x2000000 #define MNT$M_OVR_VOLO 0x4000000 #define MNT$M_INTERCHG 0x8000000 #define MNT$M_CLUSTER 0x10000000 #define MNT$M_NOREBUILD 0x20000000 #define MNT$M_OVR_SHAMEM 0x40000000 #define MNT$M_MULTI_VOL 0x80000000 #define MNT2$M_DISKQ 0x1 #define MNT2$M_COMPACTION 0x2 #define MNT2$M_INCLUDE 0x4 #define MNT2$M_PASS2 0x8 #define MNT2$M_OVR_NOFE 0x10 #define MNT2$M_SCRATCH 0x20 #define MNT2$M_CDROM 0x40 #define MNT2$M_XAR 0x80 #define MNT2$M_DSI 0x100 #define MNT2$M_SUBSYSTEM 0x200 #define MNT2$M_NOCOMPACTION 0x400 #define MNT2$M_OVR_SECURITY 0x800 #define MNT2$M_OVR_LIMITED_SEARCH 0x1000 #define MNT2$M_POOL 0x2000 #define MNT2$M_WLG_ENABLE 0x4000 #define MNT2$M_WLG_DISABLE 0x8000 #define MNT2$M_REQUIRE_MEMBERS 0x10000 #define MNT2$M_VERIFY_LABEL 0x20000 #define MNT2$M_FULL_MERGE 0x40000 #define MNT2$M_WRITE_FIRST 0x80000 #define MNT2$M_DCD 0x100000 #define MNT2$M_NODCD 0x200000 #define MNT2$M_LOCAL_HOST 0x400000 #define MNT2$M_FACTOR 0x800000 #define MNT2$M_PRIORITY 0x1000000 #define MNT$_DEVNAM 1 /* DEVICE NAME */ #define MNT$_VOLNAM 2 /* VOLUME NAME */ #define MNT$_LOGNAM 3 /* LOGICAL NAME */ #define MNT$_FLAGS 4 /* MOUNT FLAGS */ #define MNT$_ACCESSED 5 /* ACCESSED VALUE */ #define MNT$_PROCESSOR 6 /* PROCESSOR NAME */ #define MNT$_VOLSET 7 /* VOLUME SET NAME */ #define MNT$_BLOCKSIZE 8 /* BLOCKSIZE VALUE */ #define MNT$_DENSITY 9 /* TAPE DENSITY VALUE */ #define MNT$_EXTENT 10 /* NUMBER OF EXTENT CACHE ENTRIES */ #define MNT$_FILEID 11 /* FILE ID CACHE SIZE */ #define MNT$_LIMIT 12 /* EXTENT CACHE LIMIT */ #define MNT$_OWNER 13 /* VOLUME OWNER UIC */ #define MNT$_VPROT 14 /* VOLUME PROTECTION */ #define MNT$_QUOTA 15 /* QUOTA CACHE SIZE */ #define MNT$_RECORDSIZ 16 /* RECORD SIZE VALUE */ #define MNT$_WINDOW 17 /* NUMBER OF WINDOWS */ #define MNT$_EXTENSION 18 /* DEFAULT FILE EXTENSION */ #define MNT$_VISUAL_ID 19 /* VISUAL IDENTIFICATION */ #define MNT$_COMMENT 20 /* USER COMMENT */ #define MNT$_CLASS 21 /* SECURITY CLASSFICATION */ #define MNT$_UNUSED2 22 /* SPARE (was used for now obsolete journaling-related items) */ #define MNT$_UNUSED3 23 /* SPARE (was used for now obsolete journaling-related items) */ #define MNT$_SHACOPY_BUF 24 /* SHADOW COPY BUFFER */ #define MNT$_SHANAM 25 /* SHADOW SET VIRTUAL UNIT NAME */ #define MNT$_SHAMEM 26 /* SHADOW SET MEMBER UNIT NAME */ #define MNT$_SHAMEM_MGCOPY 27 /* SHADOW SET MEMBER UNIT NAME (MERGE COPY) */ #define MNT$_SHAMEM_COPY 28 /* SHADOW SET MEMBER UNIT NAME (FULL COPY) */ #define MNT$_PRFD_PATH 29 /* PREFERRED DSA PATH */ #define MNT$_ASSIGNMENT_UNIT 30 /* Assignment unit (MME) */ #define MNT$_CART_MEDIA_NAME 31 /* Cartridge Media Name (MME) */ #define MNT$_CARTRIDGE_NAME 32 /* Cartridge Name (MME) */ #define MNT$_CARTRIDGE_SIDE 33 /* Cartridge Side (MME) */ #define MNT$_COLLECTION 34 /* Collection name (MME) */ #define MNT$_DEVICE_TYPE 35 /* Device Selection criteria (MME) */ #define MNT$_DISPOSITION 36 /* Dismount Disposition (MME) */ #define MNT$_LOCATION 37 /* Cartridge Location (MME) */ #define MNT$_MEDIA_NAME 38 /* Media Name (MME) */ #define MNT$_UNUSED4 39 /* SPARE */ #define MNT$_UNDEFINED_FAT 40 /* Undefined File Attributes */ #define MNT$_UCS 41 /* Universal Character Set string */ #define MNT$_TAPE_EXPIRATION 42 /* Date Tape Expires (MME) */ #define MNT$_PRIORITY 43 /* SHDRIVER merge priority */ #define MNT$_FACTOR 44 /* SHDRIVER IO completion factor for merges */ /* */ /* Add new item codes before this line */ /* */ #define MNT$_LAST_ITEM_CODE 45 /* last item code plus 1 */ #define MNT$C_BASE_CARTRIDGE 1 /* Assign a whole cartridge */ #define MNT$C_COMPOUND_CARTRIDGE 2 /* Assign a magazine */ #define MNT$C_PREASSIGNED_SIDE 3 /* Assign a pre-assigned cartridge side */ #define MNT$C_SIDE 4 /* Assign a single cartridge side */ #define MNT$C_KEEP 1 /* Keep the media assigned */ #define MNT$C_RELEASE 2 /* Release the media */ union mntdef { __struct { unsigned mnt$v_foreign : 1; /* FOREIGN OPTION SELECTED */ unsigned mnt$v_group : 1; /* GROUP OPTION SELECTED */ unsigned mnt$v_noassist : 1; /* NOASSIST OPTION SELECTED */ unsigned mnt$v_nodiskq : 1; /* NODISKQ OPTION SELECTED */ unsigned mnt$v_nohdr3 : 1; /* NOHDR3 OPTION SELECTED */ unsigned mnt$v_nolabel : 1; /* NOLABEL OPTION SELECTED */ unsigned mnt$v_nowrite : 1; /* NOWRITE OPTION SELECTED */ unsigned mnt$v_ovr_access : 1; /* OVERRIDE ACCESSIBLITY OPTION SELECTED */ unsigned mnt$v_ovr_exp : 1; /* OVERRIDE EXPIRATON OPTION SELECTED */ unsigned mnt$v_ovr_ident : 1; /* OVERRIDE VOLUME LABEL */ unsigned mnt$v_ovr_setid : 1; /* OVERRIDE VOLUME SET IDENT OPTION SELECTIED */ unsigned mnt$v_readcheck : 1; /* READCHECK OPTION SELECTED */ unsigned mnt$v_share : 1; /* SHARE OPTION SELECTED */ unsigned mnt$v_message : 1; /* ALLOW $MOUNT TO PRINT MESSAGES */ unsigned mnt$v_system : 1; /* SYSTEM OPTION SELECTED */ unsigned mnt$v_writecheck : 1; /* WRITECHECK OPTION SELECTED */ unsigned mnt$v_writethru : 1; /* WRITETHRU OPTION SELECTED */ unsigned mnt$v_nocache : 1; /* TURN OFF ALL CACHING */ unsigned mnt$v_ovr_lock : 1; /* OVERRIDE AUTOMATIC WRITE-LOCK */ unsigned mnt$v_nomntver : 1; /* DISABLE MOUNT VERIFICATION */ unsigned mnt$v_nounload : 1; /* DO NOT UNLOAD VOLUME AT DISMOUNT */ unsigned mnt$v_tape_data_write : 1; /* ENABLE WRITE-BACK CACHE ON TAPE */ unsigned mnt$v_nocopy : 1; /* DO NOT ALLOW SHADOW COPY OPERATION */ unsigned mnt$v_noauto : 1; /* DO NOT SET THE MTAACP INTO AVR AND AVL MODE */ unsigned mnt$v_init_all : 1; /* INITIALIZE ALL VOLUMES IN SET BEFORE WRITING */ unsigned mnt$v_init_cont : 1; /* INITIALIZE CONTINUATION VOLUMES BEFORE WRITING */ unsigned mnt$v_ovr_volo : 1; /* OVERRIDE VOL1 VOLUME IDENTIFIER FIELD */ unsigned mnt$v_interchg : 1; /* VOL FOR INTERCHG NO VMS SPECIFIC INFO WRITTEN TO TAPE */ unsigned mnt$v_cluster : 1; /* CLUSTER-WIDE MOUNT OPTION SELECTED */ unsigned mnt$v_norebuild : 1; /* DO NOT REBUILD VOLUME */ unsigned mnt$v_ovr_shamem : 1; /* OVERRIDE SHADOW MEMBERSHIP RESTRICTION */ unsigned mnt$v_multi_vol : 1; /* MULTI_VOLUME TAPE SET */ unsigned mnt$v_diskq : 1; /* QUOTA EXPLICITLY SELECTED */ unsigned mnt$v_compaction : 1; /* MAGTAPE DATA COMPACTION ON */ unsigned mnt$v_include : 1; /* INCLUDE PREVIOUS SHADOWSET MEMBERS */ unsigned mnt$v_pass2 : 1; /* PASS2 of /INCLUDE/CONFIRM PROCESSING */ unsigned mnt$v_ovr_nofe : 1; /* /OVERRIDE=NO_FORCED_ERROR */ unsigned mnt$v_scratch : 1; /* Scratch tape requested flag */ unsigned mnt$v_cdrom : 1; /* Force mounting of a Files-11 C/D Volume */ unsigned mnt$v_xar : 1; /* Enable protection based on XARs */ unsigned mnt$v_dsi : 1; /* Enable protection based on Digital System Id in XARs */ unsigned mnt$v_subsystem : 1; /* /SUBSYSTEM */ unsigned mnt$v_nocompaction : 1; /* MAGTAPE DATA COMPACTION OFF */ unsigned mnt$v_ovr_security : 1; /* /OVERRIDE=SECURITY */ unsigned mnt$v_ovr_limited_search : 1; /* /OVERRIDE=LIMITIED_SEARCH */ unsigned mnt$v_pool : 1; /* /POOL operation for snapshot pool member */ unsigned mnt$v_wlg_enable : 1; /* /POLICY=ENABLE_WLG */ unsigned mnt$v_wlg_disable : 1; /* /POLICY=DISABLE_WLG */ unsigned mnt$v_require_members : 1; /* /POLICY=REQUIRE_MEMBERS */ unsigned mnt$v_verify_label : 1; /* /VERIFY_LABEL */ unsigned mnt$v_full_merge : 1; /* /POLICY=MERGE */ unsigned mnt$v_write_first : 1; /* /POLCIY=WRITE_FIRST */ unsigned mnt$v_dcd : 1; /* /POLICY=DCD */ unsigned mnt$v_nodcd : 1; /* /POLICY=NODCD */ unsigned mnt$v_local_host : 1; /* /POLICY=LOCAL_HOST */ unsigned mnt$v_factor : 1; /* /POLICY=FACTOR */ unsigned mnt$v_priority : 1; /* /POLICY=PRIORITY */ unsigned mnt$v_fill_0 : 7; } mnt$r_mntdef_bits; __struct { unsigned mnt2$v_diskq : 1; /* QUOTA EXPLICITLY SELECTED */ unsigned mnt2$v_compaction : 1; /* MAGTAPE DATA COMPACTION ON */ unsigned mnt2$v_include : 1; /* INCLUDE PREVIOUS SHADOWSET MEMBERS */ unsigned mnt2$v_pass2 : 1; /* PASS2 of /INCLUDE/CONFIRM PROCESSING */ unsigned mnt2$v_ovr_nofe : 1; /* /OVERRIDE=NO_FORCED_ERROR */ unsigned mnt2$v_scratch : 1; /* Scratch tape requested flag */ unsigned mnt2$v_cdrom : 1; /* Force mounting of a Files-11 C/D Volume */ unsigned mnt2$v_xar : 1; /* Enable protection based on XARs */ unsigned mnt2$v_dsi : 1; /* Enable protection based on Digital System Id in XARs */ unsigned mnt2$v_subsystem : 1; /* /SUBSYSTEM */ unsigned mnt2$v_nocompaction : 1; /* MAGTAPE DATA COMPACTION OFF */ unsigned mnt2$v_ovr_security : 1; /* /OVERRIDE=SECURITY */ unsigned mnt2$v_ovr_limited_search : 1; /* /OVERRIDE=LIMITIED_SEARCH */ unsigned mnt2$v_pool : 1; /* /POOL operation for snapshot pool member */ unsigned mnt2$v_wlg_enable : 1; /* /POLICY=ENABLE_WLG */ unsigned mnt2$v_wlg_disable : 1; /* /POLICY=DISABLE_WLG */ unsigned mnt2$v_require_members : 1; /* /POLICY=REQUIRE_MEMBERS */ unsigned mnt2$v_verify_label : 1; /* /VERIFY_LABEL */ unsigned mnt2$v_full_merge : 1; /* /POLICY=MERGE */ unsigned mnt2$v_write_first : 1; /* /POLCIY=WRITE_FIRST */ unsigned mnt2$v_dcd : 1; /* /POLICY=DCD */ unsigned mnt2$v_nodcd : 1; /* /POLICY=NODCD */ unsigned mnt2$v_local_host : 1; /* /POLICY=LOCAL_HOST */ unsigned mnt2$v_factor : 1; /* /POLICY=FACTOR */ unsigned mnt2$v_priority : 1; /* /POLICY=PRIORITY */ unsigned mnt2$v_fill_1 : 7; } mnt$r_mnt2def_bits; /* */ /* Item codes for mount parameters. */ /* */ /* DEFINE CODES AS CONSTANTS */ } ; #if !defined(__VAXC) && !defined(VAXC) #define mnt$v_foreign mnt$r_mntdef_bits.mnt$v_foreign #define mnt$v_group mnt$r_mntdef_bits.mnt$v_group #define mnt$v_noassist mnt$r_mntdef_bits.mnt$v_noassist #define mnt$v_nodiskq mnt$r_mntdef_bits.mnt$v_nodiskq #define mnt$v_nohdr3 mnt$r_mntdef_bits.mnt$v_nohdr3 #define mnt$v_nolabel mnt$r_mntdef_bits.mnt$v_nolabel #define mnt$v_nowrite mnt$r_mntdef_bits.mnt$v_nowrite #define mnt$v_ovr_access mnt$r_mntdef_bits.mnt$v_ovr_access #define mnt$v_ovr_exp mnt$r_mntdef_bits.mnt$v_ovr_exp #define mnt$v_ovr_ident mnt$r_mntdef_bits.mnt$v_ovr_ident #define mnt$v_ovr_setid mnt$r_mntdef_bits.mnt$v_ovr_setid #define mnt$v_readcheck mnt$r_mntdef_bits.mnt$v_readcheck #define mnt$v_share mnt$r_mntdef_bits.mnt$v_share #define mnt$v_message mnt$r_mntdef_bits.mnt$v_message #define mnt$v_system mnt$r_mntdef_bits.mnt$v_system #define mnt$v_writecheck mnt$r_mntdef_bits.mnt$v_writecheck #define mnt$v_writethru mnt$r_mntdef_bits.mnt$v_writethru #define mnt$v_nocache mnt$r_mntdef_bits.mnt$v_nocache #define mnt$v_ovr_lock mnt$r_mntdef_bits.mnt$v_ovr_lock #define mnt$v_nomntver mnt$r_mntdef_bits.mnt$v_nomntver #define mnt$v_nounload mnt$r_mntdef_bits.mnt$v_nounload #define mnt$v_tape_data_write mnt$r_mntdef_bits.mnt$v_tape_data_write #define mnt$v_nocopy mnt$r_mntdef_bits.mnt$v_nocopy #define mnt$v_noauto mnt$r_mntdef_bits.mnt$v_noauto #define mnt$v_init_all mnt$r_mntdef_bits.mnt$v_init_all #define mnt$v_init_cont mnt$r_mntdef_bits.mnt$v_init_cont #define mnt$v_ovr_volo mnt$r_mntdef_bits.mnt$v_ovr_volo #define mnt$v_interchg mnt$r_mntdef_bits.mnt$v_interchg #define mnt$v_cluster mnt$r_mntdef_bits.mnt$v_cluster #define mnt$v_norebuild mnt$r_mntdef_bits.mnt$v_norebuild #define mnt$v_ovr_shamem mnt$r_mntdef_bits.mnt$v_ovr_shamem #define mnt$v_multi_vol mnt$r_mntdef_bits.mnt$v_multi_vol #define mnt$v_diskq mnt$r_mntdef_bits.mnt$v_diskq #define mnt$v_compaction mnt$r_mntdef_bits.mnt$v_compaction #define mnt$v_include mnt$r_mntdef_bits.mnt$v_include #define mnt$v_pass2 mnt$r_mntdef_bits.mnt$v_pass2 #define mnt$v_ovr_nofe mnt$r_mntdef_bits.mnt$v_ovr_nofe #define mnt$v_scratch mnt$r_mntdef_bits.mnt$v_scratch #define mnt$v_cdrom mnt$r_mntdef_bits.mnt$v_cdrom #define mnt$v_xar mnt$r_mntdef_bits.mnt$v_xar #define mnt$v_dsi mnt$r_mntdef_bits.mnt$v_dsi #define mnt$v_subsystem mnt$r_mntdef_bits.mnt$v_subsystem #define mnt$v_nocompaction mnt$r_mntdef_bits.mnt$v_nocompaction #define mnt$v_ovr_security mnt$r_mntdef_bits.mnt$v_ovr_security #define mnt$v_ovr_limited_search mnt$r_mntdef_bits.mnt$v_ovr_limited_search #define mnt$v_pool mnt$r_mntdef_bits.mnt$v_pool #define mnt$v_wlg_enable mnt$r_mntdef_bits.mnt$v_wlg_enable #define mnt$v_wlg_disable mnt$r_mntdef_bits.mnt$v_wlg_disable #define mnt$v_require_members mnt$r_mntdef_bits.mnt$v_require_members #define mnt$v_verify_label mnt$r_mntdef_bits.mnt$v_verify_label #define mnt$v_full_merge mnt$r_mntdef_bits.mnt$v_full_merge #define mnt$v_write_first mnt$r_mntdef_bits.mnt$v_write_first #define mnt$v_dcd mnt$r_mntdef_bits.mnt$v_dcd #define mnt$v_nodcd mnt$r_mntdef_bits.mnt$v_nodcd #define mnt$v_local_host mnt$r_mntdef_bits.mnt$v_local_host #define mnt$v_factor mnt$r_mntdef_bits.mnt$v_factor #define mnt$v_priority mnt$r_mntdef_bits.mnt$v_priority #define mnt2$v_diskq mnt$r_mnt2def_bits.mnt2$v_diskq #define mnt2$v_compaction mnt$r_mnt2def_bits.mnt2$v_compaction #define mnt2$v_include mnt$r_mnt2def_bits.mnt2$v_include #define mnt2$v_pass2 mnt$r_mnt2def_bits.mnt2$v_pass2 #define mnt2$v_ovr_nofe mnt$r_mnt2def_bits.mnt2$v_ovr_nofe #define mnt2$v_scratch mnt$r_mnt2def_bits.mnt2$v_scratch #define mnt2$v_cdrom mnt$r_mnt2def_bits.mnt2$v_cdrom #define mnt2$v_xar mnt$r_mnt2def_bits.mnt2$v_xar #define mnt2$v_dsi mnt$r_mnt2def_bits.mnt2$v_dsi #define mnt2$v_subsystem mnt$r_mnt2def_bits.mnt2$v_subsystem #define mnt2$v_nocompaction mnt$r_mnt2def_bits.mnt2$v_nocompaction #define mnt2$v_ovr_security mnt$r_mnt2def_bits.mnt2$v_ovr_security #define mnt2$v_ovr_limited_search mnt$r_mnt2def_bits.mnt2$v_ovr_limited_search #define mnt2$v_pool mnt$r_mnt2def_bits.mnt2$v_pool #define mnt2$v_wlg_enable mnt$r_mnt2def_bits.mnt2$v_wlg_enable #define mnt2$v_wlg_disable mnt$r_mnt2def_bits.mnt2$v_wlg_disable #define mnt2$v_require_members mnt$r_mnt2def_bits.mnt2$v_require_members #define mnt2$v_verify_label mnt$r_mnt2def_bits.mnt2$v_verify_label #define mnt2$v_full_merge mnt$r_mnt2def_bits.mnt2$v_full_merge #define mnt2$v_write_first mnt$r_mnt2def_bits.mnt2$v_write_first #define mnt2$v_dcd mnt$r_mnt2def_bits.mnt2$v_dcd #define mnt2$v_nodcd mnt$r_mnt2def_bits.mnt2$v_nodcd #define mnt2$v_local_host mnt$r_mnt2def_bits.mnt2$v_local_host #define mnt2$v_factor mnt$r_mnt2def_bits.mnt2$v_factor #define mnt2$v_priority mnt$r_mnt2def_bits.mnt2$v_priority #endif /* #if !defined(__VAXC) && !defined(VAXC) */ /* */ /* Define format of the /UNDEFINED_FAT block */ /* */ struct undefined_fat { unsigned short int unfat$w_mrs; /* FAT Maximum Record Size */ unsigned char unfat$b_rat; /* FAT Record Attributes */ unsigned char unfat$b_rfm; /* FAT Record Format */ } ; #ifdef __cplusplus } #endif #pragma standard #endif /* __MNTDEF_LOADED */