Hello Peter,

after your Mega-commit mounting of NFS file systems does not work if NFS
is not compiled into the kernel. The problem is in the following code
snippet in sbin/mount_nfs:

        error = getvfsbyname("nfs", &vfc);
        if (error && vfsisloadable("nfs")) {
                        err(EX_OSERR, "vfsload(nfs)");
                endvfsent();    /* clear cache */
                error = getvfsbyname("nfs", &vfc);

The *vfs* functions seem to rely on the fact that the module is named
exactly like the file system. vfsload() does not load the named file
system type, but the named kernel module. Now the kernel module for the
client code is named 'nfsclient' so a change of the above to


appears to work (but looks rather misleading to the casual reader - what
kind of file system is 'nfsclient'?)

harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
              [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to