In my search for an answer I found that there is a filesystem
capability attribute
called VOL_CAP_INT_NFSEXPORT which seem to be commented out in
macfuse
fuse_vfsops.c (around line # 746):
...
attr->f_capabilities.capabilities[VOL_CAPABILITIES_INTERFACES] = 0
// | VOL_CAP_INT_SEARCHFS
| VOL_CAP_INT_ATTRLIST
// | VOL_CAP_INT_NFSEXPORT
// | VOL_CAP_INT_READDIRATTR
...
I presume this is for a reason. Anyone knows what is the story?
Can I try to enable it?
Thanks , Sergey
On Mar 31, 9:34 am, serg <[email protected]> wrote:
> Hello,
> I am porting a software package that is using Macfuse for filesystem
> implementation on Leopard.
> I need to nfs export (and then remotely mount) a directory where the
> filesystem is mounted.
> For some reasons this fails.
> To simplify I tried the same with hello filesystem and I am getting
> the exactly the same failure
> so I will use hello to explain the details.
>
> Here is some info:
>
> - hello fs is mounted on /mnt/hello: ./hello /mnt/hello -
> oping_diskarb,volname=Hello
>
> - my nfs export file looks like that
> (the other export dir in there is fine I can mount it remotely)
>
> >> more /etc/exports
>
> /mnt/hello -network 192.168.1.0 -mask 255.255.255.0
> /mnt/setjb -network 192.168.1.0 -mask 255.255.255.0
>
> - below are the messages appeared in the /var/log/system.log when i
> try to export
> by executing 'nfsd update'
>
> Mar 31 09:22:02 user /sbin/nfsd[35]: exports file changed: previous
> errors cleared
> Mar 31 09:22:02 user com.apple.diskarbitrationd[47]: nfsd [35]:24251 ->
> diskarbitrationd [47]
>
> Mar 31 09:22:02 user com.apple.diskarbitrationd[47]: created
> session, id = nfsd [35]:24251.
> Mar 31 09:22:02 user com.apple.diskarbitrationd[47]: unable to copy
> disk description, id = /dev/he...@fuse1 (status code 0xF8DA0003).
> Mar 31 09:22:02 user com.apple.diskarbitrationd[47]: removed
> session, id = nfsd [35]:24251.
> Mar 31 09:22:02 user /sbin/nfsd[35]: Can't export /mnt/hello:
> Operation not supported (45)
> Mar 31 09:22:02 user /sbin/nfsd[35]: exports:1: kernel export
> registration failed
> Mar 31 09:22:02 user com.apple.diskarbitrationd[47]: nfsd [35]:32803 ->
> diskarbitrationd [47]
>
> Mar 31 09:22:02 user com.apple.diskarbitrationd[47]: created
> session, id = nfsd [35]:32803.
> Mar 31 09:22:02 user com.apple.diskarbitrationd[47]: copied disk
> description, id = /dev/disk0s2.
> Mar 31 09:22:02 user com.apple.diskarbitrationd[47]: removed
> session, id = nfsd [35]:32803.
>
> It seems that diskarbitration is missing some information about the
> filesystem.
> Any ideas what I need to do to provide that information?
> Anything else?
>
> Thanks in advance,
> Sergey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---