=> fstype
fstype - Look up a filesystem type
Usage:
fstype <interface> <dev>:<part>
- print filesystem type
fstype <interface> <dev>:<part> <varname>
- set environment variable to filesystem type
example:
=> fstype mmc 1:1
ext4
=> fstype mmc 1:1 rootfstype
so we can use this command to set rootfs type in var rootfstype