From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <7d3530220906021134x5e63484fj31f9943556328b5a@mail.gmail.com> 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 13:49:03 -0500 Message-ID: From: Eric Van Hensbergen To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Configuring NFS Topicbox-Message-UUID: 0316f8c4-ead5-11e9-9d60-3106f5b1d025 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, > =A0 =A0 =A0 missing codepage or helper program, or other error > =A0 =A0 =A0 (for several filesystems (e.g. nfs, cifs) you might > =A0 =A0 =A0 need a /sbin/mount. helper program) > =A0 =A0 =A0 In some cases useful info is found in syslog - try > =A0 =A0 =A0 dmesg | tail =A0or so > > If I do "mount -t 9p 192.168.18.180 /mnt", using the file server IP, I ju= st 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