Hi all,
I am playing with cfs(4). It works nicely dialing to my fileserver but
fails if I try to use the existing /srv/boot channel.
failed with /srv/boot:
sceolan% 5.out -d -n -F /srv/boot -f $cfs -S /n/cache
<-client: Tversion tag 65535 msize 8216 version '9P2000'
->server: Tversion tag 65535 msize 8216 version '9P2000'
5.out: write failed, inappropriate use of fd
works using dial:
sceolan% 5.out -d -F /srv/boot -f $cfs -S /n/cache
<-client: Tversion tag 65535 msize 8216 version '9P2000'
->server: Tversion tag 65535 msize 8216 version '9P2000'
<-server: Rversion tag 65535 msize 8216 version '9P2000'
->client: Rversion tag 65535 msize 8216 version '9P2000'
<-client: Tauth tag 13 afid 402 uname steve aname
->server: Tauth tag 13 afid 402 uname steve aname
<-server: Rauth tag 13 qid (0000000000000192 0 A)
->client: Rauth tag 13 qid (0000000000000192 0 A)
<-client: Tread tag 13 fid 402 offset 0 count 2048
Note: using -n or not makes no differnce to the failed version,
though I would expect to need -n with /srv/boot.
The error occurs on the first write to /srv/boot.
I can mount /srv/boot with mount(1) without problems.
What have I missed?
-Steve
------------------------------------------
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T1ff0c2bf191f9858-M8e031b5e1276934aa63964f2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription