<<< VAXAXP::NOTES$:[NOTES$LIBRARY]VMSNOTES.NOTE;1 >>> -< VAX and Alpha VMS - Digital Internal Use Only >- ================================================================================ Note 172.7 Proc wanted about proper threatment of Volume-sets 7 of 11 CERN::HOBBS "Congrats to the Ignoble Peace Prize wi" 77 lines 13-FEB-1997 05:22 -< simple enough - but gotta hack about or program... >- -------------------------------------------------------------------------------- The volset and volume names are stored in <000000>VOLSET.SYS on RVN 1. tignes$ sho dev disk$kits Device Device Error Volume Free Trans Mnt Name Status Count Label Blocks Count Cnt COMBIN$DKB0: Mounted 0 KITS.1 297630 1 4 COMBIN$DKB100: Mounted 0 KITS.2 297690 1 4 COMBIN$DKB200: Mounted 0 KITS.3 24262 1 4 tignes$ with readall dump disk$kits:<000000>volset.sys Dump of file KITS$:<000000>VOLSET.SYS;1 on 13-FEB-1997 11:07:51.42 File ID (6,6,1) End of file block 1 / Allocated 3 Virtual block number 1 (00000001), 512 (0200) bytes 00000000 20202020 20202020 5354494B KITS .... 000000 00000000 00000000 00000000 00000000 ................ 000010 00000000 00000000 00000000 00000000 ................ 000020 00000000 00000000 00000000 00000000 ................ 000030 00000000 20202020 2020312E 5354494B KITS.1 .... 000040 00000000 00000000 00000000 00000000 ................ 000050 00000000 00000000 00000000 00000000 ................ 000060 00000000 00000000 00000000 00000000 ................ 000070 00000000 20202020 2020322E 5354494B KITS.2 .... 000080 00000000 00000000 00000000 00000000 ................ 000090 00000000 00000000 00000000 00000000 ................ 0000A0 00000000 00000000 00000000 00000000 ................ 0000B0 00000000 20202020 2020332E 5354494B KITS.3 .... 0000C0 00000000 00000000 00000000 00000000 ................ 0000D0 00000000 00000000 00000000 00000000 ................ 0000E0 00000000 00000000 00000000 00000000 ................ 0000F0 00000000 00000000 00000000 00000000 ................ 000100 00000000 00000000 00000000 00000000 ................ 000110 00000000 00000000 00000000 00000000 ................ 000120 So, what you need to do is: $ mount the set privately $ set volume /name=newname for each of the devices in the set $ patch the first 12 bytes of <000000>VOLSET.SYS on the root volume to get the new set name $ dismount $ mount/system crans$ patch/abs/nonew volset.sys PATCH Version 7.1 26-JUL-1995 %PATCH-I-NOGBL, some or all global symbols not accessible %PATCH-I-NOLCL, image does not contain local symbols PATCH>e/asc 0:0c PAA: 'FOOB' 00000004: 'AR ' 00000008: ' ' 0000000C: '' PATCH>rep/asc 0 OLD>'FOOB' OLD>'AR ' OLD>exit NEW>'KITS' NEW>' ' NEW>exit old: PAA: 'FOOB' old: 00000004: 'AR ' new: PAA: 'KITS' new: 00000004: ' ' PATCH>update %PATCH-I-OVERLAY, KITS$:<000000>VOLSET.SYS;1 being overwritten PATCH> Exit (note = the example patch is shows me restoring the correct name...) -cw