* Re: [9fans] simplest disk filesystem
@ 2014-07-16 18:17 sl
2014-07-16 18:41 ` Yoann Padioleau
0 siblings, 1 reply; 14+ messages in thread
From: sl @ 2014-07-16 18:17 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-16 18:17 [9fans] simplest disk filesystem sl
@ 2014-07-16 18:41 ` Yoann Padioleau
0 siblings, 0 replies; 14+ messages in thread
From: Yoann Padioleau @ 2014-07-16 18:41 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
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, sl@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
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-16 17:46 ` erik quanstrom
@ 2014-07-16 18:10 ` Kurt H Maier
0 siblings, 0 replies; 14+ messages in thread
From: Kurt H Maier @ 2014-07-16 18:10 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Quoting erik quanstrom <quanstro@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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 22:57 ` Kurt H Maier
@ 2014-07-16 17:46 ` erik quanstrom
2014-07-16 18:10 ` Kurt H Maier
0 siblings, 1 reply; 14+ messages in thread
From: erik quanstrom @ 2014-07-16 17:46 UTC (permalink / raw)
To: 9fans
> 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 17:57 ` andrey mirtchovski
2014-07-15 18:05 ` Yoann Padioleau
@ 2014-07-16 17:17 ` erik quanstrom
1 sibling, 0 replies; 14+ messages in thread
From: erik quanstrom @ 2014-07-16 17:17 UTC (permalink / raw)
To: 9fans
On Tue Jul 15 13:59:15 EDT 2014, mirtchovski@gmail.com wrote:
> /sys/src/cmd/ramfs.c?
>
> On Tue, Jul 15, 2014 at 11:53 AM, Yoann Padioleau <pad@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.
ramfs doesn't count by the op's rules, since it's not in kernel.
(and i think the op didn't think to specify that it store to disk.)
in fact there aren't any in-kernel file storage file systems in plan 9.
unless you count ken's file server, which is not really in kernel, it
IS the kernel. it also isn't on the same box as a kernel you're talking
about.
the simplist file on disk is likely fat, followed by kfs. simple
sadly is not a synonym for nice. :-)
- erik
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 21:18 ` Yoann Padioleau
2014-07-15 21:35 ` Brian L. Stuart
@ 2014-07-15 22:57 ` Kurt H Maier
2014-07-16 17:46 ` erik quanstrom
1 sibling, 1 reply; 14+ messages in thread
From: Kurt H Maier @ 2014-07-15 22:57 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Quoting Yoann Padioleau <pad@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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 21:18 ` Yoann Padioleau
@ 2014-07-15 21:35 ` Brian L. Stuart
2014-07-15 22:57 ` Kurt H Maier
1 sibling, 0 replies; 14+ messages in thread
From: Brian L. Stuart @ 2014-07-15 21:35 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 20:52 ` Brian L. Stuart
@ 2014-07-15 21:18 ` Yoann Padioleau
2014-07-15 21:35 ` Brian L. Stuart
2014-07-15 22:57 ` Kurt H Maier
0 siblings, 2 replies; 14+ messages in thread
From: Yoann Padioleau @ 2014-07-15 21:18 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
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 <blstuart@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
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 17:53 Yoann Padioleau
2014-07-15 17:57 ` andrey mirtchovski
@ 2014-07-15 20:52 ` Brian L. Stuart
2014-07-15 21:18 ` Yoann Padioleau
1 sibling, 1 reply; 14+ messages in thread
From: Brian L. Stuart @ 2014-07-15 20:52 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 18:05 ` Yoann Padioleau
2014-07-15 18:11 ` Lee Fallat
@ 2014-07-15 18:12 ` David du Colombier
1 sibling, 0 replies; 14+ messages in thread
From: David du Colombier @ 2014-07-15 18:12 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 86 bytes --]
You van take a look to paqfs(4) (read-only) or flashfs(4).
--
David du Colombier
[-- Attachment #2: Type: text/html, Size: 123 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 18:05 ` Yoann Padioleau
@ 2014-07-15 18:11 ` Lee Fallat
2014-07-15 18:12 ` David du Colombier
1 sibling, 0 replies; 14+ messages in thread
From: Lee Fallat @ 2014-07-15 18:11 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
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 <pad@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 <mirtchovski@gmail.com> wrote:
>
>> /sys/src/cmd/ramfs.c?
>>
>> On Tue, Jul 15, 2014 at 11:53 AM, Yoann Padioleau <pad@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.
>>
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 17:57 ` andrey mirtchovski
@ 2014-07-15 18:05 ` Yoann Padioleau
2014-07-15 18:11 ` Lee Fallat
2014-07-15 18:12 ` David du Colombier
2014-07-16 17:17 ` erik quanstrom
1 sibling, 2 replies; 14+ messages in thread
From: Yoann Padioleau @ 2014-07-15 18:05 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
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 <mirtchovski@gmail.com> wrote:
> /sys/src/cmd/ramfs.c?
>
> On Tue, Jul 15, 2014 at 11:53 AM, Yoann Padioleau <pad@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.
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] simplest disk filesystem
2014-07-15 17:53 Yoann Padioleau
@ 2014-07-15 17:57 ` andrey mirtchovski
2014-07-15 18:05 ` Yoann Padioleau
2014-07-16 17:17 ` erik quanstrom
2014-07-15 20:52 ` Brian L. Stuart
1 sibling, 2 replies; 14+ messages in thread
From: andrey mirtchovski @ 2014-07-15 17:57 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
/sys/src/cmd/ramfs.c?
On Tue, Jul 15, 2014 at 11:53 AM, Yoann Padioleau <pad@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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [9fans] simplest disk filesystem
@ 2014-07-15 17:53 Yoann Padioleau
2014-07-15 17:57 ` andrey mirtchovski
2014-07-15 20:52 ` Brian L. Stuart
0 siblings, 2 replies; 14+ messages in thread
From: Yoann Padioleau @ 2014-07-15 17:53 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
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.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-07-16 18:41 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-16 18:17 [9fans] simplest disk filesystem sl
2014-07-16 18:41 ` Yoann Padioleau
-- strict thread matches above, loose matches on Subject: below --
2014-07-15 17:53 Yoann Padioleau
2014-07-15 17:57 ` andrey mirtchovski
2014-07-15 18:05 ` Yoann Padioleau
2014-07-15 18:11 ` Lee Fallat
2014-07-15 18:12 ` David du Colombier
2014-07-16 17:17 ` erik quanstrom
2014-07-15 20:52 ` Brian L. Stuart
2014-07-15 21:18 ` Yoann Padioleau
2014-07-15 21:35 ` Brian L. Stuart
2014-07-15 22:57 ` Kurt H Maier
2014-07-16 17:46 ` erik quanstrom
2014-07-16 18:10 ` Kurt H Maier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).