openwrt格式化u盘的时候提示:-ash: mkfs.ext4: not found

root@OpenWrt:/# mkfs.ext4  /dev/sda
-ash: mkfs.ext4: not found

安装e2fsprogs后就能格式化u盘了

opkg install e2fsprogs
#格式化的等待过程中大约会停留一分钟的样子;

相关格式化命令:

mkfs.bfs
mkfs.ext2
mkfs.ext3
mkfs.jfs
mkfs.msdos
mkfs.vfat
mkfs.cramfs
mkfs.minix
mkfs.reiserfs
mkfs.xfs

以下是日志记录:

root@OpenWrt:/# mkfs.ext4  /dev/sda
-ash: mkfs.ext4: not found
root@OpenWrt:/# opkg install e2fsprogs
Installing e2fsprogs (1.44.1-2) to root...
Downloading http://mirrors.ustc.edu.cn/lede/releases/18.06.5/packages/mips_24kc/base/e2fsprogs_1.44.1-2_mips_24kc.ipk
Installing libcomerr (1.44.1-2) to root...
Downloading http://mirrors.ustc.edu.cn/lede/releases/18.06.5/packages/mips_24kc/base/libcomerr_1.44.1-2_mips_24kc.ipk
Installing libss (1.44.1-2) to root...
Downloading http://mirrors.ustc.edu.cn/lede/releases/18.06.5/packages/mips_24kc/base/libss_1.44.1-2_mips_24kc.ipk
Installing libext2fs (1.44.1-2) to root...
Downloading http://mirrors.ustc.edu.cn/lede/releases/18.06.5/packages/mips_24kc/base/libext2fs_1.44.1-2_mips_24kc.ipk
Configuring libcomerr.
Configuring libss.
Configuring libext2fs.
Configuring e2fsprogs.
root@OpenWrt:/# mkfs.ext4  /dev/sda
mke2fs 1.44.1 (24-Mar-2018)
Found a dos partition table in /dev/sda
Proceed anyway? (y,N) y
Creating filesystem with 30031872 4k blocks and 7512064 inodes
Filesystem UUID: 7d11b580-efbe-44b9-8cfc-7b97bdd9efcd
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (131072 blocks): 
done
Writing superblocks and filesystem accounting information: done