Problem
I want to use the dir directive to boot(HW) to view the contents of a disk on my system. If I issue the command:
dir hd(40)I get a listing of the /stand filesystem of my hard disk. However, if I try to read the root filesystem on my hard disk using the command:
dir hd(42)I get the error message:not a directory. not found
Can't open hd(42) Cause
The dir command to boot(HW) can only read AFS and EAFS root filesystems. It cannot read DTFS or HTFS filesystems.
The /stand filesystem (hd(40)) is an EAFS filesystem, but on OpenServer 5.0 installations the root filesystem is normally HTFS. Therefore, you cannot use the dir command on such filesystems.
If your root filesystem is EAFS or AFS and you get the error message mentioned above, your root filesystem is corrupt and you will need to recover the filesystem.
Solution
If your root filesystem is corrupt, see TA104767 "Recover OpenServer 5 root filesystem after crash if backups, boot/root exist" for details about how to recover your system from backup.
A future release of boot(HW) may support filesystems other than AFS and EAFS.
NOTE: To view the contents of a floppy disk at boot time you can enter the
following command at the boot prompt:Boot
: dir fd(61)