From mboxrd@z Thu Jan 1 00:00:00 1970 User-Agent: K-9 Mail for Android In-Reply-To: <20150625172536.GA1214@ananda.local> References: <20150625172536.GA1214@ananda.local> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 From: Ryan Gonzalez Date: Thu, 25 Jun 2015 13:09:00 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, Nils M Holm , Fans of the Plan 9 OS <9fans@9fans.net> Message-ID: <2F9FCF30-9F90-4553-82D9-D43BEADF4CBE@gmail.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] ftpfs shows empty /n/ftp after login Topicbox-Message-UUID: 5a95e944-ead9-11e9-9d60-3106f5b1d025 FYI, for what it's worth, I usually use SSH to sync files between my Linu= x laptop and my Plan 9 VM. Also, last time I tried, VirtualBox was a bit faster in emulating Plan 9 = than QEMU, especially without KVM. On June 25, 2015 12:25:36 PM CDT, Nils M Holm wrote: > >Hello everybody! > >Came back to Plan 9 recently, and I'm running into some trouble. >I'm running Plan 9 on QEMU and wanted to use ftpfs to exchange >data with my FreeBSD system. > >When logging in via ftpfs, though, I get an empty /n/ftp directory. > >This is how far I got: > >My FreeBSD machine runs inetd and logging in to my FTP account >via localhost works fine and shows my home directory. > >I'm using QEMU 2.2.1 (i386 emulation, no kqemu). This is what I do: > >$ qemu -hda Plan9.qcow=20 > >[ network card is being detected ] >[ log in as glenda ] >[ rio starts up ] > >term% ip/ipconfig >term% ndb/dns -r >term% ftpfs 10.0.2.2 >220 ananda.local FTP server (Version 6.00LS) ready >!Adding key: proto=3Dpass server=3D10.0.2.2 service=3Dftp >user[glenda]: nmh >password: >! >331 Password required for nmh. >230 User nmh logged in. >215 UNIX Type: L8 Version: BSD-199506 >257 "/u/home/nmh" is current directory. >%term > >And then it gets weird, I think: > >term% ls -l /n/ftp >[ there should be lots of files here ] >term% > >The logfile on my FreeBSD machine says: > >| Jun 25 19:16:16 ananda ftpd[1316]: connection from localhost >(127.0.0.1) >| Jun 25 19:17:35 ananda ftpd[1316]: FTP LOGIN FROM localhost as nmh > >and nothing more. > >"ns | grep ftp" says "mount -c '#|/data1' /n/ftp" > >Does anyone have any idea about what's going on here or how to debug? >It's been a while and my Plan-9-fu is quite rusty. > >Thanks, >Nils --=20 Sent from my Android device with K-9 Mail. Please excuse my brevity.