9fans archive / 2006 / 07 / 623 /    prev next

From: erik quanstrom <quanstro@qua...>
Subject: Re: [9fans] mount 9P on Linux and FreeBSD via FUSE
Date: Thu, 27 Jul 2006 21:12:56 -0500

i use this in my /etc/fstab

/tmp/ns.quanstro.:0/acme	/home/quanstro/9/acme	9P	uid=1000,user,name=quanstro,proto=unix,noauto	0 0
/tmp/ns.quanstro.:0/upasfs	/home/quanstro/9/upasfs	9P	uid=1000,user,name=quanstro,proto=unix,noauto	0 0
/tmp/ns.quanstro.:0/sources	/home/quanstro/9/sources	9P	uid=1000,user,name=quanstro,proto=unix,noauto	0 0
/tmp/ns.quanstro.:0/tapefs	/home/quanstro/9/tapefs	9P	uid=1000,user,name=quanstro,proto=unix,noauto	0 0
/tmp/ns.quanstro.:0/dns	/home/quanstro/9/dns	9P	uid=1000,user,name=quanstro,proto=unix,noauto	0 0

this allows me (without becoming root or having v9fs) to 
	; mount $home/9/acme
assuming that acme is running and my current namespace is the default.

- erik

On Thu Jul 27 17:58:11 CDT 2006, geoff@col... wrote:
> I had 9P mounting working but the v9fs (9P) module has vanished from
> my Linux machine.  As root, I invoked the equivalent in C of
> 
> 	mount -t 9P -o proto=fd,name=$LOGNAME,rfdno=%d,wfdno=%d '' /n/remote
> 
> where %d is the file descriptor to communicate with the 9P server.
> The more common usage is
> 
> 	mount -t 9P -o name=geoff 10.240.55.178 /n/remote