The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: clemc@ccc.com (Clem Cole)
Subject: [TUHS] History of strncpy
Date: Wed, 23 Jan 2013 19:01:43 -0500	[thread overview]
Message-ID: <CAC20D2PD375-7Xkeq8vbcJ13a6K1oWvtoesAeOgq3tOLikbRmA@mail.gmail.com> (raw)
In-Reply-To: <5100677E.3060902@mhorton.net>

Not to put too fine a point on it, Kirk's filesystem does not show up in
the mainstream outside of Berkeley until 4.2BSD IIRC mid 1984.   4.1 was
still based on the V7/TSS file systems [inside UCB we had 4.1A, 4.1B, 4.1C
- although if my memory serves me 4.1C was semi-available - I know I took
it Masscomp, SUN had it, and Armando you must have had it at DEC].

Anyway, the post 4.1 BSD system was when Fast File systems and Berkeley
directory system calls were added, to make some of the operations atomic
and the user space code more portable.

Henry Spencer's famous quip in the early 1980s:  *"**4.2BSD does everything
UNIX does, only differently."*
*
*
Looking back on it, ideas like the VFS layer would take a few years more.
 But without moving the directory specifics out of user space code like it
was V7 and earlier, it would have been hard to create something as clean as
VFS.


On Wed, Jan 23, 2013 at 5:43 PM, Mary Ann Horton <mah at mhorton.net> wrote:

> While I agree with the other excellent comments in this thread (I just dig
> out my document for the original "Portable C Library (on UNIX)", complete
> with functions beginning with "C"), I have one small correction.
>
> Variable length file names in directories actually didn't come out until
> the Berkeley Fast Filesystem in 4BSD.  They were not in V7 or even 3BSD.
>
>
>  By the time Version 7 rolled around, the variable length directories had
>> also appeared in the filesystem.    I suspect strcpy arrived with the
>> "portable I/O library", an abomination that eventually evolved into the
>> stdio library and to this day is still stinking up the standard C language.
>>
>>
>>
> ______________________________**_________________
> TUHS mailing list
> TUHS at minnie.tuhs.org
> https://minnie.tuhs.org/**mailman/listinfo/tuhs<https://minnie.tuhs.org/mailman/listinfo/tuhs>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20130123/95688214/attachment.html>


  reply	other threads:[~2013-01-24  0:01 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23  4:03 Nevin Liber
2013-01-23  4:41 ` Warren Toomey
2013-01-23  4:58 ` Warner Losh
2013-01-23 14:16 ` Clem Cole
2013-01-23 15:01   ` Ronald Natalie
2013-01-23 15:24     ` Armando Stettner
2013-01-23 17:49       ` scj
2013-01-23 18:19       ` Ronald Natalie
2013-01-23 19:33         ` Ronald Natalie
2013-01-23 19:59           ` Clem Cole
2013-01-23 22:43     ` Mary Ann Horton
2013-01-24  0:01       ` Clem Cole [this message]
2013-01-24  0:37 ` Jonathan Gevaryahu
2013-01-23 17:56 Michael Spacefalcon
2013-01-23 21:08 ` Larry McVoy
2013-01-23 21:39 ` Ronald Natalie
2013-01-23 21:46   ` John Cowan
2013-01-24  6:02     ` Larry McVoy
2013-01-24  6:34       ` Steve Nickolas
2013-01-24 14:42       ` Ronald Natalie
2013-01-24 14:52         ` Warner Losh
2013-01-24 16:01           ` Ronald Natalie
2013-01-24 18:31             ` Tom Ivar Helbekkmo
2013-01-25  2:06               ` Warner Losh
2013-01-24 16:21           ` Clem Cole
2013-02-01  0:28             ` Larry McVoy
2013-01-31 23:52           ` Random832
2013-02-01  0:06             ` Warner Losh

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=CAC20D2PD375-7Xkeq8vbcJ13a6K1oWvtoesAeOgq3tOLikbRmA@mail.gmail.com \
    --to=clemc@ccc.com \
    /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).