From: Andrew Warkentin <andreww591@gmail.com>
To: The Unix Heritage Society mailing list <tuhs@tuhs.org>
Subject: [TUHS] Re: most direct Unix descendant
Date: Wed, 5 Jun 2024 17:07:50 -0600 [thread overview]
Message-ID: <CAD-qYGrQH6QzNHKGsO+Tn_B=VdgWCMpgbt4PmKMb4_2YUAh7RQ@mail.gmail.com> (raw)
In-Reply-To: <CAP6exY+-aNPcw+01FTiCKeiQLy+aQG4ECQM33A2V66hFqzpEFw@mail.gmail.com>
On Wed, Jun 5, 2024 at 12:02 PM ron minnich <rminnich@gmail.com> wrote:
>
> You could argue that the most direct descendant is the one in which all resources are presented and accessed via open/read/write/close.
>
> If your kernel has separate system calls for reading directories, or setting up network connections, or debugging processes, then you may not be a direct descendant, at least philosophically (and, yes, I know about ptrace ...)
>
> But your kernel might be Plan 9, which at least to me, is the direct descendant. :-)
>
Even Plan 9's model is more like "all I/O is a file" and not
"literally everything is a file", since regular process memory is
still anonymous and fork()/rfork() are still system calls. I've never
seen an OS that puts together the "all memory is a file" of Multics
and the "all I/O is a file" of Plan 9. I think the one I'm working on
<https://gitlab.com/uxrt/uxrt-toplevel> is probably the first. Its
public "system call" API (actually a jump table into a static shared
library; the real microkernel system calls will be considered a
private implementation detail) will just consist of
read()/write()/seek()-like calls plus a few support functions to go
with them; even things like open() and close() will be RPCs over a
permanently-open channel file, and process/thread creation and memory
allocation will be done through /proc (there will of course be a
library interface over this that implements regular Unix APIs).
next prev parent reply other threads:[~2024-06-05 23:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1324869037.1755756.1717582639424.ref@mail.yahoo.com>
2024-06-05 10:17 ` [TUHS] " Andrew Lynch via TUHS
2024-06-05 10:51 ` [TUHS] " Andrew Warkentin
2024-06-05 13:46 ` Andrew Lynch via TUHS
2024-06-05 17:34 ` segaloco via TUHS
2024-06-05 17:51 ` Will Senn
2024-06-05 18:02 ` ron minnich
2024-06-05 23:07 ` Andrew Warkentin [this message]
2024-06-05 18:22 ` Jeffrey Joshua Rollin
2024-06-05 18:41 ` Warner Losh
2024-06-05 19:17 ` Jeffrey Joshua Rollin
2024-06-06 9:55 ` Ralph Corderoy
2024-06-06 19:49 ` Steffen Nurpmeso
2024-06-09 8:00 ` Ed Bradford
2024-06-30 11:05 ` [TUHS] syscalls, records in pipe [was: Re: most direct Unix descendant] Tomasz Rola via TUHS
2024-06-30 11:11 ` [TUHS] " Tomasz Rola via TUHS
2024-06-09 11:34 [TUHS] Re: most direct Unix descendant Douglas McIlroy
2024-06-09 11:59 ` A. P. Garcia
2024-06-09 12:31 ` Ralph Corderoy
2024-06-09 14:06 ` A. P. Garcia
2024-06-10 5:13 ` Ed Bradford
2024-06-10 5:25 ` G. Branden Robinson
2024-06-10 8:39 ` Dave Horsfall
2024-06-10 9:36 ` Marc Donner
2024-06-10 19:40 ` Steffen Nurpmeso
2024-06-10 20:09 ` Marc Donner
2024-06-10 20:19 ` Steffen Nurpmeso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAD-qYGrQH6QzNHKGsO+Tn_B=VdgWCMpgbt4PmKMb4_2YUAh7RQ@mail.gmail.com' \
--to=andreww591@gmail.com \
--cc=tuhs@tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).