Command `mount -a` causing repeated mounts
Michael Abbott
michael at araneidae.co.uk
Fri Dec 11 13:42:02 UTC 2009
On Thu, 10 Dec 2009, Michael Abbott wrote:
> On Thu, 10 Dec 2009, Denys Vlasenko wrote:
> > On Wednesday 09 December 2009 08:54, Michael Abbott wrote:
> > > My other thought is that the error message should be filtered on the
> > > verbose flag, which is what util-linux does. Here is a patch for
> > > that:
> > Applied, thanks.
> Thanks.
> > BTW, did you actually tested that it works for you now?
> Yes, it works a treat :)
Blast: we're not quite out of the woods yet.
I have a reduced configuration, but which includes mount, which fails at
linking with
undefined reference to `find_mount_point'
I'll have to try and figure out what's missing and where... (the link
failure is quite a confusing babble!)
It looks like libbb/find_mount_point is only linked in on options _DF,
_MKFS_MINIX, _FSCK_MINIX, guess we need to add _MOUNT. Try this patch,
seems to work ok for me:
commit 6d9527f44b9d21d6252c9dfd9e85597aa4e13a8c
Author: Michael Abbott <michael.abbott at diamond.ac.uk>
Date: Fri Dec 11 13:40:15 2009 +0000
Mount: Add dependency on find_mount_point
Signed-off-by: Michael Abbott <michael.abbott at diamond.ac.uk>
diff --git a/libbb/Kbuild b/libbb/Kbuild
index 130ad25..c099570 100644
--- a/libbb/Kbuild
+++ b/libbb/Kbuild
@@ -146,6 +146,7 @@ lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
lib-$(CONFIG_DF) += find_mount_point.o
lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o
lib-$(CONFIG_FSCK_MINIX) += find_mount_point.o
+lib-$(CONFIG_MOUNT) += find_mount_point.o
lib-$(CONFIG_HWCLOCK) += rtc.o
lib-$(CONFIG_RTCWAKE) += rtc.o
More information about the busybox
mailing list