On Thu, Jan 14, 2010 at 10:42:51PM -0500, Mike Frysinger wrote: > Some mount helpers may live in /usr/sbin, so rewrite the helper function > check_special_mountprog() to work off a list of paths. Now the default > search path is /sbin and /usr/sbin, and it should be easy to extend to > other locations as well. Oh, Mike... this is never ending story :-) I know only one elegant solution for situations when people have different points of view -- let's make it configurable... > Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> > --- > mount/mount.c | 151 +++++++++++++++++++++++++++++++------------------------- > 1 files changed, 84 insertions(+), 67 deletions(-) > > diff --git a/mount/mount.c b/mount/mount.c > index 0cef101..5be6087 100644 > --- a/mount/mount.c > +++ b/mount/mount.c > @@ -631,6 +631,8 @@ do_mount (struct mountargs *args, int *special, int *status) { > return ret; > } > > +#define MOUNT_SEARCH_PATH "/sbin:/usr/sbin" This should be defined by ./configure --with-mount-path=<list> where the default is "/sbin". Is it acceptable compromise? Karel -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html