another nfs mount issue

Kumar Gala galak at kernel.crashing.org
Wed Apr 5 00:41:55 UTC 2006


Rob,

One more difference between the new and old mount.  It appears that  
if we did the following on the command line it worked:

$ mount -o nolock engbld:/home /home

now we have to give a -t nfs for this to work.

NEW code:
             // Strangely enough, nfsmount() doesn't actually mount()  
anything.
             rc = mount_it_now(mp, vfsflags, filteropts);
             if (ENABLE_FEATURE_CLEAN_UP) free(filteropts);

             return rc;

OLD code:

              else {
                 rc = 0;
                 fsType="nfs";
                 // Strangely enough, nfsmount() doesn't actually  
mount()
                 goto mount_it_now;
             }

if we want to maintain the behavior from 1.1.0 we need to set mp- 
 >mnt_type to "nfs" in the else clause.

- kumar 



More information about the busybox mailing list