[TUHS] Interesting commentary on Unix from Multicians.

Greg A. Woods woods at robohack.ca
Sun Apr 10 05:28:47 AEST 2022


At Fri, 8 Apr 2022 17:34:27 -0600, Andrew Warkentin <andreww591 at gmail.com> wrote:
Subject: Re: [TUHS] Interesting commentary on Unix from Multicians.
>
> I think it's useful to have both I/O and memory views for files.
> Things like commands that work equally well whether stdout is a disk
> file or something like a pipe wouldn't work so well in a system where
> disk files can only be accessed through a memory-like interface.
> However, I guess the I/O interface could just be implemented with
> library functions rather than real I/O syscalls for disk-like files.

I/O is good for I/O of course (e.g. to devices, like terminals and
printers and such), and if you can "attach" that I/O to a segment, or to
another program's I/O, all the better:

    https://multicians.org/myths.html#nofile

(One big complication forced by hardware limitations of the day was
rather limited file (i.e. segment) size, and thus Multics developers
invented multi-segment files, and as mentioned in that link, stream
access to them was often through the I/O mechanism, but of course this
was a simulation done by copying (I think) data from a mapped segment of
the file to a buffer in a heap segment.)

--
					Greg A. Woods <gwoods at acm.org>

Kelowna, BC     +1 250 762-7675           RoboHack <woods at robohack.ca>
Planix, Inc. <woods at planix.com>     Avoncote Farms <woods at avoncote.ca>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP Digital Signature
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20220409/c4e3f6b6/attachment.sig>


More information about the TUHS mailing list