Deleting A Directory; Managing Storage Media - HP 10500 Series Configuration Manual

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Task
Create a directory.

Deleting a directory

To delete a directory, you must delete all files and subdirectories in this directory. To delete a file, use the
delete command. To delete a subdirectory, use the rmdir command.
Deleting a directory permanently deletes all its files in the recycle bin, if any.
Perform this task in user view.
Task
Delete a directory.

Managing storage media

CAUTION:
To avoid file system corruption:
In standalone mode, do not install or remove storage media or cards or perform an active/standby
switchover while the system is repairing, formatting, partitioning, mounting, or unmounting a storage
medium.
In IRF mode, do not install or remove storage media or perform a switchover between the global active
MPU and a global standby MPU while the system is repairing, formatting, partitioning, mounting, or
unmounting a storage medium.
Do not create, delete, start, or stop an MDC while the system is repairing, formatting, partitioning,
mounting, or unmounting a storage medium.
If you remove a storage medium while a folder or file on the storage medium is being accessed, the
device might not recognize the storage medium when you reinstall it. To reinstall this kind of storage
medium, perform one of the following tasks:
If you were accessing a folder on the storage medium, change the current directory.
If you were accessing a file on the storage medium, close the file.
If another administrator was accessing the storage medium, unmount all partitions on the storage
medium.
Before you repair or format a USB disk, make sure the disk is not write protected.
You cannot access a storage medium while it is being repaired, formatted, or partitioned.
To access a storage medium after it is repaired, formatted, or partitioned, use one of the following
methods:
Use the absolute path to specify a file or path. For example, use the more flash:/a.cfg command to
display the contents of the a.cfg file.
Command
mkdir directory
Command
rmdir directory
96

Advertisement

Table of Contents
loading

Table of Contents