v9fs does not do authentication - which is not part of 9p at any rate.

so you probably need to do auth some other way and then
pass the authenticated fd to v9fs (mount options).

have you read this thread? it seems to be what you want

http://groups.google.com/group/comp.os.plan9/browse_thread/thread/28c09901ba9f962c/edd716a1315b0a1a?lnk=gst&q=v9fs+auth&rnum=2#edd716a1315b0a1a


> Sergey Zhilkin wrote:
>> Hi! Try mount under root.
>> Check /etc/sudoers for correct permissions.
> 
> sudoers lets my account do anything :-)
> 
> However, just to keep you happy:
> 
> fafnir:/tmp# mount -t 9p -o user=ajft 10.0.0.123 /mnt
> mount: permission denied
> fafnir:/tmp# tail /var/log/syslog
>  :
> Nov 16 18:23:06 localhost kernel: [17212825.952000] v9fs_errstr2errno:
> errstr :cannot attach as none before authentication^E: not found
> 
>> I'm using it, and 9P works fine.
> 
>       Adrian

Reply via email to