openwrt使用u盘扩展系统空间

配置时需选择下列软件:

Kernel modules ---> Filesystem ---> kmod-fs-ext4
Utilities ---> Filesystem ---> e2fsprogs
Kernel modules ---> USB Support ---> kmod-usb-storage
Kernel modules ---> USB Support ---> kmod-usb2
Utilities ---> disc ---> fdisk
Base system ---> block-mount

在target/linux/ramips/base-files/etc/config目录创建fstab

config mount
option target /overlay
option device /dev/sda1
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0


你可能感兴趣的:(openwrt)