1 /* BEGIN INCLUDE FILE ... fs_vol_label.incl.pl1 .. last modified January 1982 for new volume map format */ 2 3 /****^ HISTORY COMMENTS: 4 1) change(86-04-10,Fawcett), approve(86-04-10,MCR7383), 5 audit(86-05-12,Coppola), install(86-07-18,MR12.0-1098): 6 Add the subvolume info. 7 2) change(88-05-27,GWMay), approve(88-05-27,MCR7883), 8 audit(88-06-14,Beattie), install(88-07-19,MR12.2-1061): 9 Added inconsistent_dbm bit used to determine consistency of volume 10 dumper bit maps. 11 END HISTORY COMMENTS */ 12 13 /* This is the label at fixed location of each physical volume. Length 1 page */ 14 /* Note: fsout_vol clears pad fields before writing the label */ 15 16 dcl labelp ptr; 17 18 dcl 1 label based (labelp) aligned, 19 20 /* First comes data not used by Multics.. for compatibility with GCOS */ 21 22 2 gcos (5*64) fixed bin, 23 24 /* Now we have the Multics label */ 25 26 2 Multics char (32) init ("Multics Storage System Volume"), /* Identifier */ 27 2 version fixed bin, /* Version 1 */ 28 2 mfg_serial char (32), /* Manufacturer's serial number */ 29 2 pv_name char (32), /* Physical volume name. */ 30 2 lv_name char (32), /* Name of logical volume for pack */ 31 2 pvid bit (36), /* Unique ID of this pack */ 32 2 lvid bit (36), /* unique ID of its logical vol */ 33 2 root_pvid bit (36), /* unique ID of the pack containing the root. everybody must agree. */ 34 2 time_registered fixed bin (71), /* time imported to system */ 35 2 n_pv_in_lv fixed bin, /* # phys volumes in logical */ 36 2 vol_size fixed bin, /* total size of volume, in records */ 37 2 vtoc_size fixed bin, /* number of recs in fixed area + vtoc */ 38 2 not_used bit (1) unal, /* used to be multiple_class */ 39 2 private bit (1) unal, /* TRUE if was registered as private */ 40 2 inconsistent_dbm bit (1) unal, /* TRUE if ESD-less crash */ 41 2 flagpad bit (33) unal, 42 2 max_access_class bit (72), /* Maximum access class for stuff on volume */ 43 2 min_access_class bit (72), /* Minimum access class for stuff on volume */ 44 2 password bit (72), /* not yet used */ 45 2 number_of_sv fixed bin, /* if = 0 not a subvolume else the number of svs */ 46 2 this_sv fixed bin, /* what subvolume number it is */ 47 2 sub_vol_name char (1), /* what subvolume name (a b c d) it is */ 48 2 pad1 (13) fixed bin, 49 2 time_mounted fixed bin (71), /* time mounted */ 50 2 time_map_updated fixed bin (71), /* time vmap known good */ 51 52 /* The next two words overlay time_unmounted on pre-MR10 systems. This 53 forces a salvage if an MR10 pack is mounted on an earlier system. 54 */ 55 2 volmap_version fixed bin, /* version of volume map (currently 1) */ 56 2 pad6 fixed bin, 57 58 2 time_salvaged fixed bin (71), /* time salvaged */ 59 2 time_of_boot fixed bin (71), /* time of last bootload */ 60 2 time_unmounted fixed bin (71), /* time unmounted cleanly */ 61 2 last_pvtx fixed bin, /* pvtx in that PDMAP */ 62 2 pad1a (2) fixed bin, 63 2 err_hist_size fixed bin, /* size of pack error history */ 64 2 time_last_dmp (3) fixed bin (71), /* time last completed dump pass started */ 65 2 time_last_reloaded fixed bin (71), /* what it says */ 66 2 pad2 (40) fixed bin, 67 2 root, 68 3 here bit (1), /* TRUE if the root is on this pack */ 69 3 root_vtocx fixed bin (35), /* VTOC index of root, if it is here */ 70 3 shutdown_state fixed bin, /* Status of hierarchy */ 71 3 pad7 bit (1) aligned, 72 3 disk_table_vtocx fixed bin, /* VTOC index of disk table on RPV */ 73 3 disk_table_uid bit (36) aligned, /* UID of disk table */ 74 3 esd_state fixed bin, /* State of esd */ 75 2 volmap_record fixed bin, /* Begin record of volume map */ 76 2 size_of_volmap fixed bin, /* Number of records in volume map */ 77 2 vtoc_map_record fixed bin, /* Begin record of VTOC map */ 78 2 size_of_vtoc_map fixed bin, /* Number of records in VTOC map */ 79 2 volmap_unit_size fixed bin, /* Number of words per volume map section */ 80 2 vtoc_origin_record fixed bin, /* Begin record of VTOC */ 81 2 dumper_bit_map_record fixed bin, /* Begin record of dumper bit-map */ 82 2 vol_trouble_count fixed bin, /* Count of inconsistencies found since salvage */ 83 2 pad3 (52) fixed bin, 84 2 nparts fixed bin, /* Number of special partitions on pack */ 85 2 parts (47), 86 3 part char (4), /* Name of partition */ 87 3 frec fixed bin, /* First record */ 88 3 nrec fixed bin, /* Number of records */ 89 3 pad5 fixed bin, 90 2 pad4 (5*64) fixed bin; 91 92 dcl Multics_ID_String char (32) init ("Multics Storage System Volume") static; 93 94 /* END INCLUDE FILE fs_vol_label.incl.pl1 */