Technical data

Managing a DOS File System
303561-A Rev 00
5-7
Unmounting a Volume
Use the
unmount
command to make the diskette drive unavailable before you
remove a diskette, reboot the router, or reset slot 2. When you issue the
unmount
command without using a
-f
argument, the system reports an error if files are in
use at the moment you issue the command.
To unmount the currently active volume, make sure the diskette drive LED is off,
and enter the command as follows:
unmount
The system reports an error if a file is in use at the moment you issued the
command. Otherwise, you can assume that the unmount was executed. If the
system reports an error, make sure the diskette drive LED is off and retry until no
error is reported.
You can use the
-f
argument to force an unmount, regardless of whether a file is in
use.
Enter the command as follows to force an unmount:
unmount -f
Changing the Working Directory
Use the
cd
command to change the present working directory or to display the
present working directory. Enter the following command to display the present
working directory:
cd
Enter the following command to change to another working directory:
cd \
<dir_name>
Caution:
Use the
-f
argument to force an unmount only in emergencies. File
corruption errors may occur when you force an unmount while DOS is writing
to the diskette.