Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-10
Example
# Format the Flash memory.
<Sysname>format unit1>flash:
All data on unit1>flash: will be lost , proceed with format ? [Y/N]:y
..............................
%Format unit1>flash: completed.
1.1.9 mkdir
Syntax
mkdir
directory
View
User view
Parameter
directory
: Name of a directory.
Description
Use the
mkdir
command to create a subdirectory in the specified directory of a Flash
memory.
Note that:
z
The name of the subdirectory to be created must be unique under the specified
directory. Otherwise, you will fail to create the subdirectory under the directory.
z
To use this command to create a subdirectory, the specified directory must exist.
For instance, to create subdirectory
flash:/test/mytest
, the
test
directory must
exist. Otherwise, you will fail to create the subdirectory.
Example
# Create a directory in the current directory, with the name being
test
.
<Sysname> mkdir test
....
%Created dir unit1>flash:/test.
# Create subdirectory
mytest
in the directory
test
.
<Sysname> mkdir test/mytest
..
%Created dir unit1>flash:/test/mytest.