HP MSR2000/3000/4000 Router Series Fundamentals Command Reference
146
Usage guidelines
If another file that has the same name exists in the directory, the system prompts you about whether to
overwrite the existing file. If you enter Y, the existing file is overwritten. If you enter N, the command is not
executed.
Examples
# Restore the copy.cfg file, which was moved from the cfa0: directory to the recycle bin.
<Sysname>undelete copy.cfg
Undelete cfa0:/copy.cfg?[Y/N]:y
Undeleting file cfa0:/copy.cfg... Done.
# Restore the startup.cfg file, which was moved from the cfa0:/seclog directory to the recycle bin:
• Method 1
<Sysname>undelete seclog/startup.cfg
Undelete cfa0:/seclog/startup.cfg?[Y/N]:y
Undeleting file cfa0:/seclog/startup.cfg... Done.
<Sysname>
• Method 2
<Sysname> cd seclog
<Sysname> undelete startup.cfg
Undelete cfa0:/seclog/startup.cfg?[Y/N]:y
Undeleting file cfa0:/seclog/startup.cfg... Done.
umount
Use umount to unmount a hot swappable storage medium.
Syntax
umount medium-name
Default
A storage medium is automatically mounted and placed in mounted state.
Views
User view
Predefined user roles
network-admin
Parameters
medium-name: Specifies the name of a storage medium.
Usage guidelines
Before you remove a mounted storage medium from the system, first unmount it to avoid damaging the
medium.
Before you unmount a storage medium, make sure no other users are accessing the medium. Otherwise,
the unmount operation fails.
To avoid file system corruption:
• On an MR2000 or MR3000, do not install or remove a storage medium while the system is
unmounting it.