Subject: Outdated mountd(8) not working with -current kernel
To: None <current-users@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 09/25/2005 18:42:35
Hi,

After jmmv's changes to the NFS exports list code handling, an
outdated mountd (8) does not work anymore:

mountd[703]: Can't delete exports for /
mountd[703]: Can't delete exports for /var
mountd[703]: Can't delete exports for /usr
/netbsd: ntfs_mount(): MNT_UPDATE not supported
mountd[703]: Can't delete exports for /winxp
mountd[703]: Can't delete exports for /home
mountd[703]: Can't delete exportsfor /mnt/storage
mountd[703]: Can't deleteexports for /usr/build
mountd[703]: "/usr/src-maproot", line 1:
 Can't export /usr/src: Invalid argument
mountd[703]: "/usr/xsrc        -maproot", line2:
Can't export /usr/xsrc: Invalid argument
mountd[703]: "/usr/pkgsrc      -maproot", line
3: Can't export /usr/pkgsrc: Invalid argument
mountd[703]: "/usr/build       -maproot", line
4: Can't export /usr/build: Invalid argument

Is this correct? looks like to me that mountd(8) should work
if COMPAT_30 is built in the kernel, rather than failing because
the userland is not synced with the kernel.