Description
Related command:
Example
move
Syntax
View
Parameter
Description
Use the
mount
card, a USB device, etc (excluding Flash). This command is effective only when the
device is in unmounted state.
By default, a storage device is in the mounted state, that is, you can use it without
mounting it.
Note that:
Do not remove the storage device or swap the board when mounting or
■
unmounting the device, or when you are processing files on the storage device.
Otherwise, the file system could be damaged.
When a storage device is connected to a low version system, the system may
■
not be able to recognize the device automatically, you need to use the mount
command for the storage device to function normally.
Before removing a mounted storage device from the system, you should first
■
unmount it to avoid damaging the device.
umount.
n
The support of this command varies with devices.
■
For a device supporting partitioning, this command can only mount a partition
■
device rather than the storage device.
# Mount a CF card on a centralized device.
<Sysname> mount cf:
% Mount cf: successfully.
%Apr 23 01:50:00:628 2003 System VFS/0/LOG:
cf: mounted into slot 0.
# On a device supporting partitioning, mount the third partition device on the CF
card.
<Sysname> mount cf2:
% Mount cf2: successfully.
%Apr 23 01:50:00:628 2003 Sysname VFS/5/LOG:
cf2: mounted into slot 4.
move fileurl-source fileurl-dest
User view
fileurl-source: Name of the source file.
fileurl-dest: Name of the target file.
Use the
move
command to mount a hot swappable storage device, such as a CF
command to move a file.
2357