diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/Config.in | 2 | ||||
-rw-r--r-- | util-linux/Makefile.in | 2 | ||||
-rw-r--r-- | util-linux/mount.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/Config.in b/util-linux/Config.in index 01da99c..dc6d8fd 100644 --- a/util-linux/Config.in +++ b/util-linux/Config.in @@ -325,7 +325,7 @@ config CONFIG_MOUNT NFS filesystems. Most people using BusyBox will also want to enable the 'mount' utility. -config CONFIG_NFSMOUNT +config CONFIG_FEATURE_MOUNT_NFS bool " Support mounting NFS file systems" default n depends on CONFIG_MOUNT diff --git a/util-linux/Makefile.in b/util-linux/Makefile.in index 6bd10af..3dd41bb 100644 --- a/util-linux/Makefile.in +++ b/util-linux/Makefile.in @@ -28,7 +28,7 @@ UTILLINUX-$(CONFIG_MKFS_MINIX) +=mkfs_minix.o UTILLINUX-$(CONFIG_MKSWAP) +=mkswap.o UTILLINUX-$(CONFIG_MORE) +=more.o UTILLINUX-$(CONFIG_MOUNT) +=mount.o -UTILLINUX-$(CONFIG_NFSMOUNT) +=nfsmount.o +UTILLINUX-$(CONFIG_FEATURE_MOUNT_NFS) +=nfsmount.o UTILLINUX-$(CONFIG_PIVOT_ROOT) +=pivot_root.o UTILLINUX-$(CONFIG_RDATE) +=rdate.o UTILLINUX-$(CONFIG_READPROFILE) +=readprofile.o diff --git a/util-linux/mount.c b/util-linux/mount.c index 05f25a7..15b2b19 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -37,7 +37,7 @@ /* This is just a warning of a common mistake. Possibly this should be a * uclibc faq entry rather than in busybox... */ -#if ENABLE_NFSMOUNT && defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) +#if ENABLE_FEATURE_MOUNT_NFS && defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__) #error "You need to build uClibc with UCLIBC_HAS_RPC for busybox mount with NFS support to compile." #endif @@ -278,7 +278,7 @@ singlemount: // Might this be an NFS filesystem? - if(ENABLE_NFSMOUNT && (!fsType || !strcmp(fsType,"nfs")) && + if(ENABLE_FEATURE_MOUNT_NFS && (!fsType || !strcmp(fsType,"nfs")) && strchr(blockDevice, ':') != NULL) { if(nfsmount(blockDevice, directory, &flags, &string_flags, 1)) |