Change-Id: Iea6900dbc0c03d6d13a1448d5d3294ecb9824b7f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
}
mount_fs() {
- /bin/busybox mount -o rw $1 $2 || rescue_shell
+ /bin/busybox mount -t $FSTYPE -o rw $1 $2 || rescue_shell
}
/bin/busybox mkdir -p /dev
INIT=$(cmdline init)
CONSOLE=$(cmdline console)
ROOT=$(cmdline root)
+FSTYPE=$(cmdline fstype)
+
+# set default fs type
+if [ -z $FSTYPE]; then
+ FSTYPE=ext4
+fi
# mount image...
echo -e "${COLOR_BLUE}Mount image...${NO_COLOR}"