On Mon, 10 May 2004 [EMAIL PROTECTED] wrote: > > Had a look at this. This is due to the ioctl 32 bit emulation layer not > > being told yet about the added ioctls in the latest autofs4. > > > > This is also true on 2.4 and 64 bit archs. > > > > If I make a patch can you test it for me on your arch. I can only test on > Most definitely. > > Thanks for your help!!
Use the patches for your kernel at http://www.kernel.org/pub/linux/kernel/people/raven and add this patch for the ioctls. It applies with a small offset but achieves the desired result. This fixes the problem for me on sparc64 but I'm not sure avout x86_64. Let me know. --- linux-2.6.6-rc3-mm2/include/linux/compat_ioctl.h.orig 2004-05-09 23:06:04.000000000 +0800 +++ linux-2.6.6-rc3-mm2/include/linux/compat_ioctl.h 2004-05-09 23:04:19.000000000 +0800 @@ -546,6 +546,10 @@ COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOVER) COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE) COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE_MULTI) +COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOSUBVER) +COMPATIBLE_IOCTL(AUTOFS_IOC_ASKREGHOST) +COMPATIBLE_IOCTL(AUTOFS_IOC_TOGGLEREGHOST) +COMPATIBLE_IOCTL(AUTOFS_IOC_ASKUMOUNT) /* DEVFS */ COMPATIBLE_IOCTL(DEVFSDIOC_GET_PROTO_REV) COMPATIBLE_IOCTL(DEVFSDIOC_SET_EVENT_MASK) _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
