[BusyBox] Mount command will not auto-mount nfs volumes

Erik Andersen andersen at codepoet.org
Thu Feb 27 23:32:03 UTC 2003


On Thu Feb 27, 2003 at 10:07:17AM -0800, Brent Roman wrote:
> There is code in mount.c that specifically prevents the
> 
> mount -a
> 
> command from operating on entries in /etc/fstab that
> have the file type "nfs" (or "swap") -- even if they
> have not been flagged with the "noauto" option!
> 
> While one could argue that skipping "swap" volumes makes
> some sense, I cannot figure out why one would always
> skip "nfs" mounts.  In any case, one
> can always flag troublesome "nfs" mounts with "noauto".
> 
> Can anyone explain the rational behind this?
> Or, is it a bug?
> 
> By the way:
> I removed the explicit nfs file type check from
> the mount -a processing.  At least for me, after
> this change, mount -a will happily mount nfs
> volumes.

There is no good reason for that.  It seems that problem has been
there since I added nfs support in November 1999 and you are the
first person to notice and complain... :) I just fixed it.  Care
to grab the latest (busybox unstable) and check if it now works
as expected?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list