118
Field Description
0 -rwh 3144 Apr 26
2008 13:45:28 xx.xx
File or folder information:
•
0
—File or folder number, which is automatically allocated by the system.
•
-rwh
—Attributes of the file or folder. The first character is the folder indicator
(
d
for folder and
–
for file). The second character indicates whether the file or
folder is readable (
r
for readable). The third character indicates whether the
file or directory is writable (
w
for writable). The fourth character indicates
whether the file or directory is hidden (
h
for hidden,
-
for visible). Modifying,
renaming, or deleting hidden files might affect functions.
•
3144
—File size in bytes. For a folder, a hyphen (-) is displayed.
•
Apr 26 2008 13:45:28
—Last date and time when the file or folder was
modified.
•
xx.xx
—File or folder name.
fdisk
Use
fdisk
to partition a storage medium.
Syntax
fdisk
medium-name
[
partition-number
]
Views
User view
Predefined user roles
network-admin
Parameters
medium-name:
Specifies the name of the storage medium to be partitioned.
partition-number:
Specifies the number of partitions, in the range of 1 to 4.
Usage guidelines
The Flash cannot be partitioned.
If the
partition-number
argument is specified, the storage medium is divided into the specified number of
partitions. Otherwise, partitioning is performed in an interactive way.
It is normal that the specified partition size and the actual partition size have an error less than 5% of the
total memory.
A partition cannot be partitioned.
Before partitioning a USB disk:
•
Back up the files in the storage medium. The partition operation clears all data in the medium.
•
If you are partitioning a USB disk, make sure the disk is not write protected. Otherwise, the partition
operation will fail, and you must remount or reinstall the disk to restore access to the USB disk.
•
Make sure no other users are accessing the medium. Otherwise, the partition operation fails.
Examples
# Divide the USB disk on the device evenly into three partitions in simple mode.
<Sysname> fdisk usb: 3