Format ext4 in linux

opkg update
opkg install util-linux-fdisk
fdisk -l

fdisk /dev/sda
then
n to create a partition
p for listing partitions
d for deleting (put number)
w to complete changes

then you can format and mount it (umount /dev/sda1 first !)

opkg install e2fsprogs
mkfs.ext4 /dev/sda1

mkdir /media/hdd
mount /dev/sda1 /media/hdd

Admin
_________________________