openwrt/package/base-files/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
..
bin base-files: ipcalc.sh: Add netmask2prefix function 2023-12-12 12:30:35 -07:00
etc base-files: fix duplicate wifi radio sections when using phy renaming 2023-07-17 14:33:57 +02:00
lib base-files: add support for rootfs mount options from cmdline 2024-01-15 16:44:29 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: fix duplicate wifi radio sections when using phy renaming 2023-07-17 14:33:57 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00