Re: [9fans] 9P and Linux experiment

2025-02-20 Thread Alyssa M via 9fans
I implemented extended attributes in my Linux 9P server: term% echo Xuser.wow abcd >,ctl/foo term% cat ,ctl/foo dev 45831 inode 265868 umode 0100644 nlink 1 uid 1001 gid 1001 rdev 0 size 6 blksize 4096 blocks 16 atime 1739199962 mtime 1739199962 ctime 1740003632 atimensec 460383798 mtimensec 470383

Re: [9fans] 9P and Linux experiment

2025-02-14 Thread Alyssa M via 9fans
On Friday, February 14, 2025, at 3:48 PM, ron minnich wrote: > This is very interesting, but I think the two problems you will hit are (1) > the proliferation of these "," names everywhere and what they mean (do you > include them in readdir? If you do, that's going to at least triple its  > leng

Re: [9fans] 9P and Linux experiment

2025-02-14 Thread ron minnich
I was remembering why your file name approach made me nervous. in Windows NT, you could open files that you did not see via readdir. This is kind of crazy making, after a while. So in your server, you're either going to see all those files on a readdir, which will confuse users and scripts; or, if

Re: [9fans] 9P and Linux experiment

2025-02-14 Thread Alyssa M via 9fans
I've planned to pass xattrs through the ,ctl files, but haven't written the code yet - I've only recently installed the xattr package on RPi debian and read the man pages. It looks reasonably straightforward. It's been bottom of the list, as I don't see a lot of things using them. I've written

Re: [9fans] 9P and Linux experiment

2025-02-14 Thread ron minnich
This is very interesting, but I think the two problems you will hit are (1) the proliferation of these "," names everywhere and what they mean (do you include them in readdir? If you do, that's going to at least triple its length; if you do not, readdir is not showing directory contents, since each

Re: [9fans] 9P and Linux experiment

2025-02-14 Thread Edouard Klein
This is cool :) Can you pass xattrs through the ,ctl file ? If you can find the time to write it up in thee pages, that would be a nice WiP for iwp9 ! The deadline has just been extended ! Cheers, Edouard. "Alyssa M via 9fans" <9fans@9fans.net> writes: > I have a complicated relationship wit

Re: [9fans] 9P and Linux experiment

2025-02-13 Thread David Leimbach via 9fans
Forgive the top post and short replay but …. Applause! That’s a very creative and somewhat intuitive way to build a bridge! Nicely done! (But you already knew that!) Sent from my iPhone > On Feb 13, 2025, at 8:21 PM, Nicola Girardi via 9fans <9fans@9fans.net> wrote: > > Quoth Alyssa M via 9fan

Re: [9fans] 9P and Linux experiment

2025-02-13 Thread Nicola Girardi via 9fans
Quoth Alyssa M via 9fans <9fans@9fans.net>: > I wondering whether it would be better to have a single control > file per directory and some kind of sub-protocol going through it. It's nice to see I'm not the only one doing something of the kind. I went with something that seems simpler to me, but

[9fans] 9P and Linux experiment

2025-02-13 Thread Alyssa M via 9fans
I have a complicated relationship with 9P2000.L. On the one hand it's been a useful way to build file systems for Linux, and I've gotten some mileage out of that. On the other hand, I'm not crazy about having a different protocol to 9P (I've read through a lot of what's been said on 9fans about