Re: [9fans] simplest disk filesystem

2014-07-16 Thread erik quanstrom
 What is the motivation of choosing a distributed OS without wanting to
 explain how distributed operating systems work?

the standard definition of distributed os rather excludes plan 9.

- erik



Re: [9fans] simplest disk filesystem

2014-07-16 Thread Kurt H Maier

Quoting erik quanstrom quans...@quanstro.net:


What is the motivation of choosing a distributed OS without wanting to
explain how distributed operating systems work?


the standard definition of distributed os rather excludes plan 9.

- erik


Please document this standard, including which standards body ratified it.

khm




Re: [9fans] simplest disk filesystem

2014-07-16 Thread sl
It just seems like creating a fake os (as in, no one even intends
to use this os) from scratch in order to explain a real os (as in,
the goal is to finally understand or at least use this os) makes
things even more difficult to understand.

sl



Re: [9fans] simplest disk filesystem

2014-07-16 Thread Yoann Padioleau

Yes, maybe you’re right :) I’ll probably stick to the idea on just focus on 
devroot.c as someone suggested.

On Jul 16, 2014, at 11:17 AM, s...@9front.org wrote:

 It just seems like creating a fake os (as in, no one even intends
 to use this os) from scratch in order to explain a real os (as in,
 the goal is to finally understand or at least use this os) makes
 things even more difficult to understand.
 
 sl
 




[9fans] simplest disk filesystem

2014-07-15 Thread Yoann Padioleau
Hi,

What is the simplest storage filesystem in terms of code size in plan9?
I’m looking for a very simple in-kernel filesystem. Maybe older version of plan9
was including such a filesystem? On Linux for instance the minixfs was probably
the simplest filesystem. The dos must also be simple but it’s currently a 
fileserver
which makes it sligtly more complicated.


Re: [9fans] simplest disk filesystem

2014-07-15 Thread andrey mirtchovski
/sys/src/cmd/ramfs.c?

On Tue, Jul 15, 2014 at 11:53 AM, Yoann Padioleau p...@fb.com wrote:
 Hi,

 What is the simplest storage filesystem in terms of code size in plan9?
 I’m looking for a very simple in-kernel filesystem. Maybe older version of 
 plan9
 was including such a filesystem? On Linux for instance the minixfs was 
 probably
 the simplest filesystem. The dos must also be simple but it’s currently a 
 fileserver
 which makes it sligtly more complicated.



Re: [9fans] simplest disk filesystem

2014-07-15 Thread Yoann Padioleau
But I would like something that actually can persist … a real but simple storage
persistent filesystem.

On Jul 15, 2014, at 10:57 AM, andrey mirtchovski mirtchov...@gmail.com wrote:

 /sys/src/cmd/ramfs.c?
 
 On Tue, Jul 15, 2014 at 11:53 AM, Yoann Padioleau p...@fb.com wrote:
 Hi,
 
 What is the simplest storage filesystem in terms of code size in plan9?
 I’m looking for a very simple in-kernel filesystem. Maybe older version of 
 plan9
 was including such a filesystem? On Linux for instance the minixfs was 
 probably
 the simplest filesystem. The dos must also be simple but it’s currently a 
 fileserver
 which makes it sligtly more complicated.
 




Re: [9fans] simplest disk filesystem

2014-07-15 Thread Lee Fallat
I don't know anything about ramfs but maybe you can modify it to read
all disk from storage then write back when done? Sounds really
inefficient though. Maybe if it was done with system files it'd be
more practical. AFAIK, but a bit off topic, DamnSmallLinux can do
this. Maybe you'd like to check that out.

On Tue, Jul 15, 2014 at 2:05 PM, Yoann Padioleau p...@fb.com wrote:
 But I would like something that actually can persist … a real but simple 
 storage
 persistent filesystem.

 On Jul 15, 2014, at 10:57 AM, andrey mirtchovski mirtchov...@gmail.com 
 wrote:

 /sys/src/cmd/ramfs.c?

 On Tue, Jul 15, 2014 at 11:53 AM, Yoann Padioleau p...@fb.com wrote:
 Hi,

 What is the simplest storage filesystem in terms of code size in plan9?
 I’m looking for a very simple in-kernel filesystem. Maybe older version of 
 plan9
 was including such a filesystem? On Linux for instance the minixfs was 
 probably
 the simplest filesystem. The dos must also be simple but it’s currently a 
 fileserver
 which makes it sligtly more complicated.






Re: [9fans] simplest disk filesystem

2014-07-15 Thread David du Colombier
You van take a look to paqfs(4) (read-only) or flashfs(4).

-- 
David du Colombier


Re: [9fans] simplest disk filesystem

2014-07-15 Thread Brian L. Stuart
 I’m looking for a very simple in-kernel filesystem.

What's motivating the desire for to be in-kernel?  Nearly,
every file system in Plan 9 runs in user space.  All the
ones that have been mentioned do.  The only in-kernel
file system in the labs' distribution is devroot which is
read-only and intended only to provide enough bits to
get the system up and running.  9atom also includes
a devtinyfs that you could take a look at.

BLS




Re: [9fans] simplest disk filesystem

2014-07-15 Thread Yoann Padioleau
I’m trying to make a tutorial explaining the code of a not too large kernel
(9), but there are too many things to explain so I have to cut things.
So having a simple fs which does not require to explain
9p, the rpc, the mount device, etc would be great.
I know that explaining plan9 without 9p is kinda nonsense, but I would
do that in another tutorial.

On Jul 15, 2014, at 1:52 PM, Brian L. Stuart blstu...@bellsouth.net wrote:

 I’m looking for a very simple in-kernel filesystem.
 
 What's motivating the desire for to be in-kernel?  Nearly,
 every file system in Plan 9 runs in user space.  All the
 ones that have been mentioned do.  The only in-kernel
 file system in the labs' distribution is devroot which is
 read-only and intended only to provide enough bits to
 get the system up and running.  9atom also includes
 a devtinyfs that you could take a look at.
 
 BLS
 
 




Re: [9fans] simplest disk filesystem

2014-07-15 Thread Brian L. Stuart
 I’m trying to make a tutorial explaining the code of
 a not too large kernel (9), but there are too many
 things to explain so I have to cut things.  So having
 a simple fs which does not require to explain 9p, the
 rpc, the mount device, etc would be great.

In that case, I'd suggest using devroot since it's useful
to know how things get bootstrapped and having a
small set of files in the kernel image is a handy technique
for embedded applications.  Although it doesn't talk to
any disk devices, you can point to the next tutorial and
explain that most file systems run as user applications
and communicate with the disks by way of 9p.

BLS




Re: [9fans] simplest disk filesystem

2014-07-15 Thread Kurt H Maier

Quoting Yoann Padioleau p...@fb.com:


I’m trying to make a tutorial explaining the code of a not too large kernel
(9), but there are too many things to explain so I have to cut things.
So having a simple fs which does not require to explain
9p, the rpc, the mount device, etc would be great.
I know that explaining plan9 without 9p is kinda nonsense, but I would
do that in another tutorial.


What is the motivation of choosing a distributed OS without wanting to
explain how distributed operating systems work?

khm