ABLE has the ability to fully navigate detected filesystems. The Chapter 12, File Navigation commands may be used to move around and list the entries within any filesystem which supports directory enumeration (currently only the tftpboot pseudo filesystem does not). It should be noted that only devices with a valid filesystem recognised and supported by ABLE can be navigated in this way.
ABLE presents all available filesystems and devices in a hierarchical structure. The root of this filesystem is a virtual representation of all the available devices. The devices are either direct representations of devices or aliases which show the detected filesystems on devices.
At initial boot time the Present Working Directory
(PWD
) is set to /
which
represents the root of the filesystems. The PWD
is changed with the cd command and displayed with the
pwd command. The
dumpfile(1) command without
any parameters lists the PWD
. With a parameter it
lists the specified directory. The currently available
aliases can be show by using dumpfile(1) on the root directory. The all
switch (-a
) will show all the available
filesystems too.
Example 3.1. Navigating a filesystem
>pwd / >ls (hd0) -> (hda1):ext2 (flash3) -> (nand0p4):jffs2 (flash2) -> (nand0p3):jffs2 (flash1) -> (nand0p2):jffs2 (flash0) -> nand0p1 (fb0) -> sm501fb (s3c2410_serial2) -> char6 (s3c2410_serial1) -> char5 (s3c2410_serial0) -> char4 (u16550_serial3) -> char3 (u16550_serial2) -> char2 (u16550_serial1) -> char1 (u16550_serial0) -> char0 (sbcd0) -> 24cxx1p1 (nvram0) -> 24cxx0p2 (uid0) -> 24cxx0p1 >cd (hd0) >ls var etc usr bin boot dev home lib proc root sbin tmp sys >cd boot >ls -l -rw-r--r-- 1 0 0 176 2008-08-11 13:07 able.sh -rw-r--r-- 1 0 0 804326 2008-08-12 08:35 System.map-2.6.26-simtec1-s3c24xx-oabi -rwxr-xr-x 1 0 0 1943012 2008-08-12 08:35 vmlinuz-2.6.26-simtec1-s3c24xx-oabi -rw-r--r-- 1 0 0 56694 2008-08-12 08:35 config-2.6.26-simtec1-s3c24xx-oabi >