Difference between revisions of "Unit ShellFilesystem"
From Ultibo.org
Line 10: | Line 10: | ||
---- | ---- | ||
− | '' | + | |
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell filesystem command constants''' <code> SHELL_FILESYS_COMMAND_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_FILESYSTEM = 'FILESYSTEM';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_CONTROLLER = 'CONTROLLER';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_DISK = 'DISK';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_PARTITION = 'PARTITION';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_VOLUME = 'VOLUME';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_DRIVE = 'DRIVE';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_CACHE = 'CACHE';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_DIR = 'DIR';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_CHDIR = 'CD';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_MKDIR = 'MD';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_RMDIR = 'RD';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_TYPE = 'TYPE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_COPY = 'COPY';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_MOVE = 'MOVE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_DEL = 'DEL';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_REN = 'REN';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_ATTRIB = 'ATTRIB';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_TOUCH = 'TOUCH';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_VOL = 'VOL';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_LABEL = 'LABEL';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_DELTREE = 'DELTREE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_COMMAND_XCOPY = 'XCOPY';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell filesystem alias constants''' <code> SHELL_FILESYS_ALIAS_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_LS = 'LS';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_CD = 'CHDIR';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_CDSLASH = 'CD\';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_CDDOTDOT = 'CD..';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_MD = 'MKDIR';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_RD = 'RMDIR';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_RM = 'RM';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_DELETE = 'DELETE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_ERASE = 'ERASE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALIAS_RENAME = 'RENAME';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell filesystem action constants''' <code> SHELL_FILESYS_ACTION_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_LIST = 'LIST';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_SHOW = 'SHOW';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_LABEL = 'LABEL';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_FILL = 'FILL';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_SIGNATURE = 'SIGNATURE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_INITIALIZE = 'INITIALIZE';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_EJECT = 'EJECT';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_LOCK = 'LOCK';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_UNLOCK = 'UNLOCK';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_ADD = 'ADD';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_DELETE = 'DELETE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_ACTIVATE = 'ACTIVATE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_DEACTIVATE = 'DEACTIVATE';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_FORMAT = 'FORMAT';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_DEFRAG = 'DEFRAG';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_CHECK = 'CHECK';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_CLEAN = 'CLEAN';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_DIRTY = 'DIRTY';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_MOUNT = 'MOUNT';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_DISMOUNT = 'DISMOUNT';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_STATS = 'STATS';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_FLUSH = 'FLUSH';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_DISCARD = 'DISCARD';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_START = 'START';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ACTION_STOP = 'STOP';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell filesystem parameter constants''' <code> SHELL_FILESYS_PARAMETER_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_HELP = '?';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_PAGE = 'P';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_SHORT = 'X';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_SUBDIR = 'S';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_OVERWRITE = 'O';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_READONLY = '+R';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_ARCHIVE = '+A';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_SYSTEM = '+S';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_HIDDEN = '+H';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_NOTREADONLY = '-R';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_NOTARCHIVE = '-A';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_NOTSYSTEM = '-S';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_PARAMETER_NOTHIDDEN = '-H';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell filesystem mask constants''' <code> SHELL_FILESYS_*_MASK </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_FILESYS_ALLFILES_MASK = '*.*';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Type definitions === | === Type definitions === |
Revision as of 02:51, 16 December 2016
Return to Unit Reference
Description
To be documented
Constants
Shell filesystem command constants
SHELL_FILESYS_COMMAND_*
SHELL_FILESYS_COMMAND_FILESYSTEM = 'FILESYSTEM';
|
|
SHELL_FILESYS_COMMAND_CONTROLLER = 'CONTROLLER';
|
|
SHELL_FILESYS_COMMAND_DISK = 'DISK';
|
|
SHELL_FILESYS_COMMAND_PARTITION = 'PARTITION';
|
|
SHELL_FILESYS_COMMAND_VOLUME = 'VOLUME';
|
|
SHELL_FILESYS_COMMAND_DRIVE = 'DRIVE';
|
|
SHELL_FILESYS_COMMAND_CACHE = 'CACHE';
|
|
SHELL_FILESYS_COMMAND_DIR = 'DIR';
|
|
SHELL_FILESYS_COMMAND_CHDIR = 'CD';
|
|
SHELL_FILESYS_COMMAND_MKDIR = 'MD';
|
|
SHELL_FILESYS_COMMAND_RMDIR = 'RD';
|
|
SHELL_FILESYS_COMMAND_TYPE = 'TYPE';
|
|
SHELL_FILESYS_COMMAND_COPY = 'COPY';
|
|
SHELL_FILESYS_COMMAND_MOVE = 'MOVE';
|
|
SHELL_FILESYS_COMMAND_DEL = 'DEL';
|
|
SHELL_FILESYS_COMMAND_REN = 'REN';
|
|
SHELL_FILESYS_COMMAND_ATTRIB = 'ATTRIB';
|
|
SHELL_FILESYS_COMMAND_TOUCH = 'TOUCH';
|
|
SHELL_FILESYS_COMMAND_VOL = 'VOL';
|
|
SHELL_FILESYS_COMMAND_LABEL = 'LABEL';
|
|
SHELL_FILESYS_COMMAND_DELTREE = 'DELTREE';
|
|
SHELL_FILESYS_COMMAND_XCOPY = 'XCOPY';
|
Shell filesystem alias constants
SHELL_FILESYS_ALIAS_*
SHELL_FILESYS_ALIAS_LS = 'LS';
|
|
SHELL_FILESYS_ALIAS_CD = 'CHDIR';
|
|
SHELL_FILESYS_ALIAS_CDSLASH = 'CD\';
|
|
SHELL_FILESYS_ALIAS_CDDOTDOT = 'CD..';
|
|
SHELL_FILESYS_ALIAS_MD = 'MKDIR';
|
|
SHELL_FILESYS_ALIAS_RD = 'RMDIR';
|
|
SHELL_FILESYS_ALIAS_RM = 'RM';
|
|
SHELL_FILESYS_ALIAS_DELETE = 'DELETE';
|
|
SHELL_FILESYS_ALIAS_ERASE = 'ERASE';
|
|
SHELL_FILESYS_ALIAS_RENAME = 'RENAME';
|
Shell filesystem action constants
SHELL_FILESYS_ACTION_*
SHELL_FILESYS_ACTION_LIST = 'LIST';
|
|
SHELL_FILESYS_ACTION_SHOW = 'SHOW';
|
|
SHELL_FILESYS_ACTION_LABEL = 'LABEL';
|
|
SHELL_FILESYS_ACTION_FILL = 'FILL';
|
|
SHELL_FILESYS_ACTION_SIGNATURE = 'SIGNATURE';
|
|
SHELL_FILESYS_ACTION_INITIALIZE = 'INITIALIZE';
|
|
SHELL_FILESYS_ACTION_EJECT = 'EJECT';
|
|
SHELL_FILESYS_ACTION_LOCK = 'LOCK';
|
|
SHELL_FILESYS_ACTION_UNLOCK = 'UNLOCK';
|
|
SHELL_FILESYS_ACTION_ADD = 'ADD';
|
|
SHELL_FILESYS_ACTION_DELETE = 'DELETE';
|
|
SHELL_FILESYS_ACTION_ACTIVATE = 'ACTIVATE';
|
|
SHELL_FILESYS_ACTION_DEACTIVATE = 'DEACTIVATE';
|
|
SHELL_FILESYS_ACTION_FORMAT = 'FORMAT';
|
|
SHELL_FILESYS_ACTION_DEFRAG = 'DEFRAG';
|
|
SHELL_FILESYS_ACTION_CHECK = 'CHECK';
|
|
SHELL_FILESYS_ACTION_CLEAN = 'CLEAN';
|
|
SHELL_FILESYS_ACTION_DIRTY = 'DIRTY';
|
|
SHELL_FILESYS_ACTION_MOUNT = 'MOUNT';
|
|
SHELL_FILESYS_ACTION_DISMOUNT = 'DISMOUNT';
|
|
SHELL_FILESYS_ACTION_STATS = 'STATS';
|
|
SHELL_FILESYS_ACTION_FLUSH = 'FLUSH';
|
|
SHELL_FILESYS_ACTION_DISCARD = 'DISCARD';
|
|
SHELL_FILESYS_ACTION_START = 'START';
|
|
SHELL_FILESYS_ACTION_STOP = 'STOP';
|
Shell filesystem parameter constants
SHELL_FILESYS_PARAMETER_*
SHELL_FILESYS_PARAMETER_HELP = '?';
|
|
SHELL_FILESYS_PARAMETER_PAGE = 'P';
|
|
SHELL_FILESYS_PARAMETER_SHORT = 'X';
|
|
SHELL_FILESYS_PARAMETER_SUBDIR = 'S';
|
|
SHELL_FILESYS_PARAMETER_OVERWRITE = 'O';
|
|
SHELL_FILESYS_PARAMETER_READONLY = '+R';
|
|
SHELL_FILESYS_PARAMETER_ARCHIVE = '+A';
|
|
SHELL_FILESYS_PARAMETER_SYSTEM = '+S';
|
|
SHELL_FILESYS_PARAMETER_HIDDEN = '+H';
|
|
SHELL_FILESYS_PARAMETER_NOTREADONLY = '-R';
|
|
SHELL_FILESYS_PARAMETER_NOTARCHIVE = '-A';
|
|
SHELL_FILESYS_PARAMETER_NOTSYSTEM = '-S';
|
|
SHELL_FILESYS_PARAMETER_NOTHIDDEN = '-H';
|
Shell filesystem mask constants
SHELL_FILESYS_*_MASK
SHELL_FILESYS_ALLFILES_MASK = '*.*';
|
Type definitions
To be documented
Public variables
To be documented
Function declarations
Initialization functions
procedure ShellFileSysInit;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference