This command is used make a filesystem available for access with the filesystem access commands. Three things need to be defined to do this. First, the name of the device on which the filesystem is stored needs to be given to the -d option. Secondly, the type of filesystem it is needs to be given to the -t option. Finally, the pathname by which the new filesystem will be accessed needs to be supplied. Following a successful mount, the root of the filesystem will be accessible at the mountpoint.
Mount a JFF2 partititon:
RedBoot> fs info
Filesystems available:
ramfs
jffs2
Devices available:
/dev/flash1
Mounted filesystems:
Device Filesystem Mounted on
<undefined> ramfs /
RedBoot> fs mount -d /dev/flash1 -t jffs2 /flash
RedBoot> fs info
Filesystems available:
ramfs
jffs2
Devices available:
/dev/flash1
Mounted filesystems:
Device Filesystem Mounted on
<undefined> ramfs /
/dev/flash1 jffs2 /flash
RedBoot> |