[9fans] P9p's mount(1) on linux
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
[9fans] P9p's mount(1) on linux         


Author: Uriel
Date: Jun 18, 2008 18:46

Here is a tinny patch to make p9p's mount(1) work on linux even if you
have the v9fs (or fuse *yuck*) modules built into your kernel rather
than as modules.

Still there is the issue of what to do if you are not root, maybe a
9pmount helper program that is suid could take care of this? Sqweek
wrote a very nice 9mount program (
http://sqweek.dnsdojo.org/code/9mount/docs ) that maybe could be
added to p9p, unfortunately v9fs has changed its interface/params once
more and 9mount doesn't work with recent kernels *sigh*

Peace and best wishes

uriel

P.S.: Can someone please forward this to russ, last I heard he had my
email address in his kilfile.
Show full article (1.34Kb)
23 Comments
Re: [9fans] P9p's mount(1) on linux         


Author: Eric Van Hensbergen
Date: Jun 18, 2008 18:59

because I'm difficult you may need to check the version of the kernel
you are running, some of the options syntax has changed and you may
want to set some of the newer security options (the access option) to
be more consistent with the Plan 9 mindset.

-eric

On Wed, Jun 18, 2008 at 8:42 PM, Uriel gmail.com> wrote:
> Here is a tinny patch to make p9p's mount(1) work on linux even if you
> have the v9fs (or fuse *yuck*) modules built into your kernel...
Show full article (1.73Kb)
22 Comments
Re: [9fans] P9p's mount(1) on linux         


Author: Uriel
Date: Jun 18, 2008 20:09

Thanks for your reply, but I'm not clear what you mean: should p9p's
mount check the kernel version? or are you talking about 9mount?

By the way, where can one find the git tree with the latest v9fs? I
was googling and struggling with the swik 'thing' (words fail me...),
but couldn't find it, I know it is somewhere...

Also any other feedback on what changes and improvements 9mount might
need before it can be made part of p9p (or maybe shipped with the
standard linux mount(1) tools?).

uriel

On Thu, Jun 19, 2008 at 3:57 AM, Eric Van Hensbergen gmail.com> wrote:
> because I'm difficult you may need to check the version of the kernel
> you are running, some of the options syntax has...
Show full article (2.37Kb)
20 Comments
Re: [9fans] P9p's mount(1) on linux         


Author: Rodolfo kix García
Date: Jun 19, 2008 04:12

In my opinion,

the Uriel patch is better. If you check for the words "9p(2000)" and
"fuse" (without spaces, end of line, start of line, or other things)
probably the patch will be "kernel independent"

The "lsmod" output format can change in new releases too.

Saludos.
> Thanks for your reply, but I'm not clear what you mean: should p9p's
> mount check the kernel version? or are you talking about 9mount?
>
> By the way, where can one find the git tree with the latest...
Show full article (2.80Kb)
8 Comments
Re: [9fans] P9p's mount(1) on linux         


Author: Iruata Souza
Date: Jun 19, 2008 04:42

http://swtch.com/v9fs seems to have a nightly updated copy of v9fs in
the linux kernel tree.

On Thu, Jun 19, 2008 at 12:05 AM, Uriel gmail.com> wrote:
> Thanks for your reply, but I'm not clear what you mean: should p9p's
> mount check the kernel version? or are you talking about 9mount...
Show full article (2.62Kb)
no comments
Re: [9fans] P9p's mount(1) on linux         


Author: Sape Mullender
Date: Jun 19, 2008 06:36

> because I'm difficult you may need to [...]
> -eric

Amen.
no comments
Re: [9fans] P9p's mount(1) on linux         


Author: Russ Cox
Date: Jun 19, 2008 08:14

Thanks for the patch, Uriel.

The http://swtch.com/v9fs script stopped working
a long time ago, and I never bothered to find
out why. I've changed the text on that page,
though clicking on the "date and checksums"
link has always shown that the last update
was October 2006.

A few p9p programs--acme, tapefs, vacfs--now
accept a -m option directing them to mount at a
particular place in the directory tree, via 9pfuse.
There is no option to mount via the Linux 9p module.

I'm a little tired of the "Fuse sucks" meme.
Show full article (1.63Kb)
7 Comments
Re: [9fans] P9p's mount(1) on linux         


Author: Eric Van Hensbergen
Date: Jun 19, 2008 08:56

On Wed, Jun 18, 2008 at 10:05 PM, Uriel gmail.com> wrote:
> Thanks for your reply, but I'm not clear what you mean: should p9p's
> mount check the kernel version? or are you talking about 9mount?
>

Whatever function deals with passing the options to the mount system
call needs the modification. The few changes that are there may be
fixed by me doing a better job and supporting old names for options,
but it won't help for the kernels already in circulation.
> By the way, where can one find the git tree with the latest v9fs? I
> was googling and struggling with the swik 'thing' (words fail me...),
> but couldn't find it, I know it is somewhere...

The "latest" is in linus' head branch on kernel.org.
The current development stream is in
git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git in the
v9fs-devel branch.
Show full article (1.77Kb)
9 Comments
Re: [9fans] P9p's mount(1) on linux         


Author: erik quanstrom
Date: Jun 19, 2008 09:12

>> By the way, where can one find the git tree with the latest v9fs? I
>> was googling and struggling with the swik 'thing' (words fail me...),
>> but couldn't find it, I know it is somewhere...
>
> The "latest" is in linus' head branch on kernel.org.

being unfamilar with this jargon, i initially misread this as commentary
rather than fact.



- erik
no comments
Re: [9fans] P9p's mount(1) on linux         


Author: Uriel
Date: Jun 19, 2008 13:28

> Whatever function deals with passing the options to the mount system
> call needs the modification. The few changes that are there may be
> fixed by me doing a better job and supporting old names for options,
> but it won't help for the kernels already in circulation.

Ah, I see. Maybe just requiring a >2.6.25 kernel should be fine, or
are there going to be more changes in the future? :)
>> By the way, where can one find the git tree with the latest v9fs? I
>> was googling and struggling with the swik 'thing' (words fail me...),
>> but couldn't find it, I know it is somewhere...
>
> The "latest" is in linus' head branch on kernel.org.
> The current development stream is in
> git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git in the
> v9fs-devel branch.

Ah, that was what I was looking for, would be nice to document the
location of that repo somewhere... (*must restrain from commenting on
swik*)
Show full article (2.42Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
FS: Weaver Mounts Detachable Top Mount Base BLK63 - Item #: 275240 via auctionalt.marketplace.online.ebay ·
FS: Weaver Mounts Det Top Mount Base Black MT 36M - Item #: 452728 via auctionalt.marketplace.online.ebay ·
1 2 3