On Tue, Jun 2, 2009 at 11:49 AM, Eric Van Hensbergen <eri...@gmail.com> wrote:
> On Tue, Jun 2, 2009 at 1:34 PM, John Floren<slawmas...@gmail.com> wrote:
>>
>> I'd like to use the 9p mounting available in Linux, but it doesn't
>> seem to work in this case.
>> I try "mount -t 9p glenda /mnt" (glenda is my cpu/file server) and get:
>> mount: wrong fs type, bad option, bad superblock on glenda,
>>       missing codepage or helper program, or other error
>>       (for several filesystems (e.g. nfs, cifs) you might
>>       need a /sbin/mount.<type> helper program)
>>       In some cases useful info is found in syslog - try
>>       dmesg | tail  or so
>>
>> If I do "mount -t 9p 192.168.18.180 /mnt", using the file server IP, I just 
>> get
>> mount: permission denied
>> But dmesg shows "[88617.144804] p9_errstr2errno: server reported
>> unknown error cannot attach as none before authentication", ONLY when
>> I use the IP address--nothing appears when I use the /etc/hosts alias
>> "glenda".
>>
>> What am I missing?
>>
>
> The Linux mount tool doesn't do DNS translation (except in the case of
> NFS).  Other file systems have to rely on mount helpers which have to
> be appropriately named.  So invocation as the IP address is the only
> correct invocation in this case -- but you'll need to auth (or setup
> the file server to export without authentication).
>
>    -eric
>
>

Ok. Since I want to try and keep this with a low barrier to entry, I'd
prefer to avoid making people install p9p, which I think is what you
said is needed to do auth. I tried 9mount as well and had no luck
there--"permission denied" when I try to mount.

Is it possible to just export one directory without authentication? I
want to do read-only access if possible... is that what you get as
'none'?

John
-- 
"I've tried programming Ruby on Rails, following TechCrunch in my RSS
reader, and drinking absinthe. It doesn't work. I'm going back to C,
Hunter S. Thompson, and cheap whiskey." -- Ted Dziuba

Reply via email to