From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <328F8D1D-806C-466B-8E93-853CF2B38169@corpus-callosum.com> From: Jeff Sickel To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/mixed; boundary=Apple-Mail-10--625067872 Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 10 Dec 2008 13:35:18 -0600 Subject: [9fans] MacFUSE 2.0 released, new header updates required for 9pfuse Topicbox-Message-UUID: 5fbe67de-ead4-11e9-9d60-3106f5b1d025 --Apple-Mail-10--625067872 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit As with each new release of MacFUSE, we've got to update a few things to get 9pfuse working again. The following patch (hg export) has the changes to fuse_kernel.h that are required to get it working again. Unfortunately, the change is not backwardly compatible--and completely untested on any FreeBSD machines. --Apple-Mail-10--625067872 Content-Disposition: attachment; filename=2973.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="2973.patch" Content-Transfer-Encoding: 7bit # HG changeset patch # User Jeff Sickel # Date 1228937176 21600 # Node ID ab787bb2930b4b2fa1d4004e33f2adfdf92a600d # Parent 47b3d93f532d3eab751eeaa6bbdafd44990199cd MacFUSE 2.0 updates diff -r 47b3d93f532d -r ab787bb2930b src/cmd/9pfuse/fuse_kernel.h --- a/src/cmd/9pfuse/fuse_kernel.h Sun Dec 07 09:20:08 2008 -0800 +++ b/src/cmd/9pfuse/fuse_kernel.h Wed Dec 10 13:26:16 2008 -0600 @@ -3,8 +3,6 @@ Copyright (C) 2001-2007 Miklos Szeredi - - This -- and only this -- header file may also be distributed under the terms of the BSD Licence as follows: @@ -63,9 +61,15 @@ __u64 atime; __u64 mtime; __u64 ctime; +#if (__FreeBSD__ >= 10) + __u64 crtime; +#endif /* __FreeBSD__ >= 10 */ __u32 atimensec; __u32 mtimensec; __u32 ctimensec; +#if (__FreeBSD__ >= 10) + __u32 crtimensec; +#endif /* __FreeBSD__ >= 10 */ __u32 mode; __u32 nlink; __u32 uid; @@ -73,7 +77,6 @@ __u32 rdev; #if (__FreeBSD__ >= 10) __u32 flags; /* file flags; see chflags(2) */ - __u32 padding; #endif /* __FreeBSD__ >= 10 */ }; --Apple-Mail-10--625067872 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-10--625067872--