Table of Contents

4.5 Volume

Return to DidoDLL

Purpose

Return to Top

The purpose of the DEFINE VOLUME command is to define a localized name mapping an actual path to a directory to a symbolic name. The symbolic name provides a logical name for use throughout the DIDO CLI. This helps with maintenance because the actual path is maintained in a single location.

Syntax

Return to Top

DEFINE VOLUME <VolumeName> AS
   PATH = <DirectoryPath>
   MODE = <DirectoryPermissions>;

Where

Return to Top

Examples

Return to Top

| Examples of Defining Volume in DidoLL
    DEFINE VOLUME config AS
      path      = "/etc/myDidoRoot/"
      mode      = "RX";
    DEFINE VOLUME DATA AS
      path      = "/etc/myDidoRoot/"
      mode      = "RW";
    DEFINE VOLUME wallet AS
      path      = "~/myWallet/";
    DEFINE VOLUME wallet AS
      path      = "~/universityWallet/";