Re: [9fans] mount with different username

2014-01-09 Thread Bence Fábián
Nothing except the ssh entry. I try to do mount /srv/u9fs /n/linuxbox /srv/u9fs is a pipe through ssh to the linuxbox running u9fs. I'm trying to use p9any on the u9fs side. When i run the command on the linux box it is fine but when run through ssh it exits immediately. Most probably an oversight

Re: [9fans] mount with different username

2014-01-09 Thread Bence Fábián
Ok. What do I do wrong? execl(/bin/ssh, ssh, argv[1], u9fs, -Dnza, p9any, -A, argv[2], nil); Seems it gets the -Dzna p9any, but not the -A keyfile 2014/1/9 Bence Fábián beg...@gmail.com Nothing except the ssh entry. I try to do mount /srv/u9fs /n/linuxbox /srv/u9fs is a pipe through ssh

Re: [9fans] mount with different username

2014-01-09 Thread Bence Fábián
Hi! Seems ssh takes only a fixed number of arguments as cmd. term% ssh bfabian@linuxbox echo `{seq 20} 1 2 Passing it in one argument in exec works. However! Tattach still sends bence (my plan 9 user) as uname. How could i change that to bfabian? BR, Bence 2014/1/9 Bence Fábián

[9fans] mount with different username

2014-01-07 Thread Bence Fábián
Hi fans! I want to mount my filesystem on a linux machine from plan9. u9fs.log says: u9fs kill 23121 - Tversion tag 65535 msize 8216 version '9P2000' - Rversion tag 65535 msize 8216 version '9P2000' - Tattach tag 15 fid 527 afid -1 uname bence aname ruserok(, bence) not

Re: [9fans] mount with different username

2014-01-07 Thread Nicolas Bercher
On 07/01/2014 18:17, Bence Fábián wrote: Hi fans! I want to mount my filesystem on a linux machine from plan9. u9fs.log says: u9fs kill 23121 - Tversion tag 65535 msize 8216 version '9P2000' - Rversion tag 65535 msize 8216 version '9P2000' - Tattach tag 15 fid 527 afid

Re: [9fans] mount with different username

2014-01-07 Thread Nicolas Bercher
On 07/01/2014 18:33, Nicolas Bercher wrote: maybe this is the same for mount: -u bfabian -k 'user=bfabian' Sorry, after a quick code exploration (mount.c), I think this is a wrong assumption. Nicolas

Re: [9fans] mount with different username

2014-01-07 Thread Skip Tavakkolian
what do you have in your factotum for that dom? (i.e. grep linuxboxname /mnt/factotum/ctl) On Tue, Jan 7, 2014 at 9:17 AM, Bence Fábián beg...@gmail.com wrote: Hi fans! I want to mount my filesystem on a linux machine from plan9. u9fs.log says: u9fs kill 23121 - Tversion

Re: [9fans] mount with different username

2014-01-07 Thread Bence Fábián
Im home now. Will send it tomorrow 2014/1/7, Skip Tavakkolian skip.tavakkol...@gmail.com: what do you have in your factotum for that dom? (i.e. grep linuxboxname /mnt/factotum/ctl) On Tue, Jan 7, 2014 at 9:17 AM, Bence Fábián beg...@gmail.com wrote: Hi fans! I want to mount my