I don't know if I'm helping or confusing things, but here's a bit more
experimentation;
I did the above, and git worked correctly with diod as the file server
(=> git requires syscalls
that 9p2000.l provides).  But compiling seems to run into an untested
combinatorial case:

$ GOROOT_BOOTSTRAP=~/SRC/go1.4 GOOS=plan9 GOARCH=386 ./all.bash
Building Go cmd/dist using /home/fst/SRC/go1.4.
(go1.4-bootstrap-20170531 linux/amd64)
Building Go toolchain1 using /home/fst/SRC/go1.4.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
/mnt/overdiod/go/pkg/tool/linux_amd64/link: mapping output file
failed: invalid argument

go tool dist: FAILED: /mnt/overdiod/go/pkg/tool/linux_amd64/link
-extld=gcc -o /mnt/overdiod/go/pkg/tool/linux_amd64/go_bootstrap
/tmp/go-tool-dist-326859795/cmd/go/_go_.a: exit status 2
Building Go toolchain2 using go_bootstrap and Go toolchain1.
go tool dist: FAILED:
/mnt/overdiod/go/pkg/tool/linux_amd64/go_bootstrap install
-gcflags=all= -ldflags=all= -i cmd/asm cmd/cgo cmd/compile cmd/link:
fork/exec /mnt/overdiod/go/pkg/tool/linux_amd64/go_bootstrap: no such
file or directory

On Tue, Oct 26, 2021 at 12:36 PM Skip Tavakkolian
<skip.tavakkol...@gmail.com> wrote:
>
> according to diod docs, mounting diod is similar to what you have:
> sudo mount -t 9p -n 127.0.0.1 /mnt
> -oaname=/tmp/9,version=9p2000.L,uname=root,access=user
>
> On Tue, Oct 26, 2021 at 12:33 PM Skip Tavakkolian
> <skip.tavakkol...@gmail.com> wrote:
> >
> > Sorry, I was suggesting a potential diagnostic. I was thinking (all
> > steps are on Linux):
> > * clone go
> > * run diod, export / over 9P2000.L
> > * from the same or another linux box, mount diod-exported fs and
> > attempt all.bash
> > I am speculating that if that works, the issue might be with
> > unsupported fs calls.
> >
> > On Tue, Oct 26, 2021 at 12:11 PM Richard Miller <9f...@hamnavoe.com> wrote:
> > > > there is a 9P2000.L variant that seems to
> > > > kitchen-sink all Linux fs calls into 9P. There's a file server
> > > > (https://github.com/chaos/diod) that implements it. It would be
> > > > interesting to know if your case fails using it.
> > > 
> > > Sorry, I've cloned & built diod but I can't quite see how to
> > > deploy it for my use case, which is to mount fs from Plan 9
> > > file server onto linux client. The server is 4th edition and
> > > thus 9P2000 not 9P2000.L.
> > > 
> > > Here's the incantation I've been using to mount atom's fs
> > > using v9fs:
> > > 
> > > $ factotum -n
> > > $ srv -a atom
> > > $ sudo mount -t 9p -o 
> > > trans=unix.uname=miller,dfltuid=1000,dfltgid=1000,cache=mmap 
> > > `namespace`/atom /mnt
> > > 
> > > What would be the equivalent using diod?
> > > 

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tb065f4df67a8bab9-M76889d95950ce443f66145ab
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to