[PATCH] mount: add option to disable NFS completely
David Laight
David.Laight at ACULAB.COM
Thu May 25 14:17:17 UTC 2023
From: Reimu
> Sent: 25 May 2023 15:04
>
> This can save up to ~40 kbytes with uclibc and it helps a lot when
> you're building a very tiny busybox for embedded systems.
> ---
> util-linux/mount.c | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/util-linux/mount.c b/util-linux/mount.c
> index 4e65b6b46..1c3e2bf64 100644
> --- a/util-linux/mount.c
> +++ b/util-linux/mount.c
> @@ -77,6 +77,17 @@
> //config: Note that this option links in RPC support from libc,
> //config: which is rather large (~10 kbytes on uclibc).
> //config:
> +//config:config FEATURE_MOUNT_NFS_ALL
> +//config: bool "Support mounting NFS file systems on Linux >= 2.6.23"
> +//config: default y
> +//config: depends on MOUNT
> +//config: help
> +//config: Enable mounting of NFS file systems on Linux kernels with
> +//config: at least version 2.6.23.
I don't think you need to reference the Linux kernel version.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
More information about the busybox
mailing list