openwrt/package/base-files
Christian Marangi 0b23d3608c
base-files: add support for rootfs mount options from cmdline
Add support for configuring rootfs mount options from cmdline.

Rootfs mount options can be passed by declaring in the kernel
cmdline as much options as needed prefixed with "rootfs_mount_options."

An example usage is with rootfs with F2FS filesystem to enable
compress_algorithm to reduce flash wear by compressing the files before
writing to flash.

Example usage:
"... rootfs_mount_options.compress_algorithm=zstd ..."

To pass multiple options:
"... rootfs_mount_options.compress_algorithm=zstd rootfs_mount_options.noinline_data ..."

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-01-15 16:44:29 +01:00
..
files base-files: add support for rootfs mount options from cmdline 2024-01-15 16:44:29 +01:00
image-config.in build: add option to use preinit IP as LAN IP 2023-02-17 16:20:03 +02:00
Makefile base-files: Create /root w/ appropriate permissions 2023-11-12 16:32:42 +01:00