Library /sys$common/syshlp/helplib.hlb  —  INITIALIZE  Examples
    1.$ INITIALIZE/USER_NAME=CPA $FLOPPY1 ACCOUNTS

      Initializes the volume on $FLOPPY1, labels the volume ACCOUNTS,
      and gives the volume a user name of CPA.

    2.$ ALLOCATE DMA2:  TEMP
        _DMA2: ALLOCATED
      $ INITIALIZE  TEMP:  BACK_UP_FILE
      $ MOUNT  TEMP:  BACK_UP_FILE
      %MOUNT-I-MOUNTED, BACK_UP_FILE mounted on _DMA2:
      $ CREATE/DIRECTORY  TEMP:[GOLDSTEIN]

      This sequence of commands shows how to initialize an RK06/RK07
      volume. First, the device is allocated, to ensure that no
      one else can access it. Then, when the volume is physically
      mounted on the device, the INITIALIZE command initializes
      it. When the volume is initialized, the MOUNT command makes
      the file structure available. Before you can place any files
      on the volume, you must create a directory, as shown by the
      CREATE/DIRECTORY command.

    3.$ ALLOCATE MT:
        _MTB1:  ALLOCATED
      $ INITIALIZE MTB1:  SOURCE
      $ MOUNT MTB1:  SOURCE
      %MOUNT-I-MOUNTED, SOURCE mounted on _MTB1:
      $ COPY *.FOR  MTB1:
      $ DIRECTORY MTB1:
         .
         .
         .
      $ DISMOUNT MTB1:

      These commands show the procedure necessary to initialize a
      magnetic tape. After allocating a drive, the magnetic tape is
      loaded on the device, and the INITIALIZE command writes the
      label SOURCE on it. Then, the MOUNT command mounts the magnetic
      tape so that files can be written on it.

    4.$ BACKUP filespec MUA0: ... /MEDIA_FORMAT=NOCOMPACTION-
      _$/REWIND

      This example creates a BACKUP tape with compaction and record
      blocking disabled.

    5.$ INITIALIZE/ERASE/SHADOW=($4$DKA1300, $4$DKA1301) NONVOLATILE

      $MOUN/SYS DSA42 /SHAD=( $4$DKA1300 , $4$DKA1301 ) NONVOLATILE
      %MOUNT-I-MOUNTED, NONVOLATILE MOUNTED ON _DSA42:
      %MOUNT-I-SHDWMEMSUCC, _$4$DKA1300: (WILD3) IS NOW A VALID MEMBER OF THE SHADOW SET
      %MOUNT-I-SHDWMEMSUCC, _$4$DKA1301: (WILD4) IS NOW A VALID MEMBER OF THE SHADOW SET
      $SHO DEV DSA42:

      DEVICE              DEVICE          ERROR    VOLUME         FREE  TRANS MNT
       NAME               STATUS          COUNT     LABEL        BLOCKS COUNT CNT
      DSA42:              MOUNTED             0  NONVOLATILE    5799600     1   1
      $4$DKA1300: (WILD3) SHADOWSETMEMBER     0  (MEMBER OF DSA42:)
      $4$DKA1301: (WILD4) SHADOWSETMEMBER     0  (MEMBER OF DSA42:)

      This example shows correct use of the INITIALIZE/ERASE/SHADOW
      command. Note that the command specifies multiple devices on
      the same line.
Close Help