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 <[EMAIL PROTECTED]> 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?
>
> 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 <[EMAIL PROTECTED]> 
> wrote:
>> 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 <[EMAIL PROTECTED]> 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 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.
>>>
>>> diff -r fe7a4a762f75 bin/mount
>>> --- a/bin/mount Sun Jun 15 01:46:23 2008 -0400
>>> +++ b/bin/mount Thu Jun 19 03:41:08 2008 +0200
>>> @@ -6,12 +6,12 @@
>>>  }
>>>  switch(`{uname}){
>>>  case Linux
>>> -       if(lsmod|9 grep -si '^9p(2000)? '){
>>> +       if(cat /proc/filesystems|9 grep -si '   9p(2000)?$'){
>>>                if(u test -S $1)
>>>                        exec u mount -t 9p -o proto'='unix,name'='$USER $1 $2
>>>                exec u mount -t 9p -o proto'='tcp,name'='$USER $1 $2
>>>        }
>>> -       if(lsmod|9 grep -si '^fuse ')
>>> +       if(cat /proc/filesystems|9 grep -si '   fuse$')
>>>                exec 9pfuse $1 $2
>>>        echo 'don''t know how to mount (no 9p, no fuse)' >[1=2]
>>>  case FreeBSD
>>>
>>>
>>
>>
>
>



-- 
iru

Reply via email to