I wished to use a usb flash drive retaining the original fat 32 format and after reading the advice on the forum concocted the following.
#SSH into the router. # Copy/paste each line below, then press Return opkg update && opkg install block-mount e2fsprogs kmod-fs-ext4 kmod-usb3 kmod-usb2 kmod-usb-storage kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 #Attach usb drive now block detect > /etc/config/fstab uci set fstab.@mount.enabled='1' && uci set fstab.@global.check_fs='1' && uci commit /sbin/block mount && service fstab enable
I ran this and it completed albeit with an error (?) resulting from the last command
root@OpenWrt:~# /sbin/block mount && service fstab enable block: /dev/ubiblock0_1 is already mounted on /rom block: /dev/ubi0_2 is already mounted on /overlay block: check_filesystem: /usr/sbin/dosfsck not found
However having logged into the router using LuCi the drive was mounted on /dev/sda and having installed samba it was available on the network and functioned normally.
Should I be concerned that it did not mount an /dev/sda1 for example and if so what would be the best way to rectify this?
I am new to OpenWRT and somewhat technically challenged so please take that into account when replying!