From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <7d3530220906021030w391ef36eg588f9feae05fa012@mail.gmail.com> <1243964132.13276.46.camel@goose.sun.com> <7d3530220906021103l2f82344dh43cd1eff8fa42a99@mail.gmail.com> <1243966760.13276.61.camel@goose.sun.com> <7d3530220906021134x5e63484fj31f9943556328b5a@mail.gmail.com> Date: Tue, 2 Jun 2009 12:57:34 -0700 Message-ID: <7d3530220906021257q1786f9b8pd12c3b145411f26a@mail.gmail.com> From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Configuring NFS Topicbox-Message-UUID: 038367e8-ead5-11e9-9d60-3106f5b1d025 On Tue, Jun 2, 2009 at 11:49 AM, Eric Van Hensbergen wro= te: > On Tue, Jun 2, 2009 at 1:34 PM, John Floren 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, >> =C2=A0 =C2=A0 =C2=A0 missing codepage or helper program, or other error >> =C2=A0 =C2=A0 =C2=A0 (for several filesystems (e.g. nfs, cifs) you might >> =C2=A0 =C2=A0 =C2=A0 need a /sbin/mount. helper program) >> =C2=A0 =C2=A0 =C2=A0 In some cases useful info is found in syslog - try >> =C2=A0 =C2=A0 =C2=A0 dmesg | tail =C2=A0or so >> >> If I do "mount -t 9p 192.168.18.180 /mnt", using the file server IP, I j= ust 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). =C2=A0Other file systems have to rely on mount helpers which have t= o > be appropriately named. =C2=A0So 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). > > =C2=A0 =C2=A0-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 --=20 "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