I have been trying to set F_NOCACHE via fcntl on a mac to no avail. r = Syscall.fcntl (handle.DangerousGetHandle().ToInt32(), (FcntlCommand) MAC_F_NOCACHE, 1); } while (UnixMarshal.ShouldRetrySyscall ((int) r)); if (r == -1) UnixMarshal.ThrowExceptionForLastError ();
(EINVAL) I have tried 48 0x400 and 0x40000 for F_NOCACHE though from https://github.com/realthunder/mac-headers/blob/master/usr/include/sys/fcntl.h#L256 Given FcntlCommandFlags does not expose F_NOCACHE but it still should be fine to jam the value into the enum Has anyone set this before? Chances of finding this on google are slightly better than 0 :) Cheers, Greg -- Studying for the Turing test _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list