HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
dspinellis
unix-history-repo
Assembly2014–2026
dspinellis / unix-history-repo

unix-history-repo

Continuous Unix commit history from 1970 until today

76Distinct people
104Mentions
0Explicit recommenders
7.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Continuous Unix commit history from 1970 until today

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 7:01:10 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year104 dated mentions

Observed mentions: 2014-05-25 22:21:07 UTC to 2026-09-18 12:06:57 UTC.

0510152014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 10 mentions; 4 submissions, 6 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 13 mentions; 1 submissions, 12 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 6 mentions; 2 submissions, 4 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 7 mentions; 2 submissions, 5 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 10 mentions; 2 submissions, 8 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 9 mentions; 0 submissions, 9 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 17 mentions; 1 submissions, 16 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 9 mentions; 1 submissions, 8 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 7 mentions; 0 submissions, 7 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC211
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC1046
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC13112
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC624
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC211
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC725
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC1028
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC909
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC17116
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC716
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC918
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC707
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC505

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Unix History Repository The history and evolution of the Unix operating system is made available as a revision management repository, covering the period from its inception in 1970 as a 2.5 thousand line kernel and 48 commands, to 2025 as a widely-used 41 million line system. The 2 GB repository contains about 850 thousand commits and more than eight thousand merges. The repository employs Git system for its storage and is hosted on GitHub. It has been created by synthesizing with custom software 22 snapshots of systems developed at Bell Labs, the University of California at Berkeley, and the 386BSD team, and the modern repository of the open source FreeBSD system. In total, about 2700 individual contributors are identified, the early ones through primary research. The data set can be used for empirical research in software engineering, information systems, and software archaeology. You can read more details about the contents, creation, and uses of this repository through this link. Two repositories are associated with the project: unix-history-repo is a repository representing a reconstructed version of the Unix history, based on the currently available data. This repository will be often automatically regenerated from scratch, so this is not a place to make contributions. To ensure replicability its users are encouraged to fork it or archive it. unix-history-make is a repository containing code and metadata used to build the above repository. Contributions to this repository are welcomed. Project status The project has achieved its major goal with the establishment of a continuous timeline from 1970 until today. The repository contains: snapshots of PDP-7, V1, V2, V3, V4, V5, V6, and V7 Research Edition, Unix/32V, all available BSD releases, the CSRG SCCS history, two releases of 386BSD, the 386BSD patchkit, the current FreeBSD repository, which now contains its full history. The files appear to be added in the repository in chronological order according to their modification time, and large parts of the source code have been attributed to their actual authors. Commands like git blame and git log produce the expected results. The repository contains a number of two-way merges. 3 BSD is merged from Unix/32V and Research Edition 6 Various BSD releases are merged from the development branch and a time point of BSD-SCCS Blame is apportioned appropriately. Tags and Branches The following tags or branch names mark specific releases, listed in rough chronological order. Epoch Research-PDP7 Research-V1–6 BSD-1 BSD-2 Research-V7 Bell-32V BSD-3, 4, 4_1_snap, 4_1c_2, 4_2, 4_3, 4_3_Reno, 4_3_Net_1, 4_3_Tahoe, 4_3_Net_2, 4_4, 4_4_Lite1, 4_4_Lite2 SCCS-END, 386BSD-0.0, 0.1, patchkit All release and releng branches found in the FreeBSD Git repository A detailed description of the major tags is available in the file releases.md. More tags and branches are available. The -Snapshot-Development branches denote commits that have been synthesized from a time-ordered sequence of a snapshot's files. The -VCS-Development tags denote the point along an imported version control history branch where a particular release occurred. Cool things you can do If you have a broadband network connection and about 2 GB of free disk space, you can download the repository and run Git commands that go back decades. Run git clone https://github.com/dspinellis/unix-history-repo git checkout BSD-Release to get a local copy of the Unix history repository. View log across releases Running git log --reverse --date-order will give you commits such as the following commit 64d7600ea5210a9125bd1a06e5d184ef7547d23d Author: Ken Thompson <ken@research.uucp> Date: Tue Jun 20 05:00:00 1972 -0500 Research V1 development Work on file u5.s Co-Authored-By: Dennis Ritchie <dmr@research.uucp> Synthesized-from: v1/sys [...] commit 4030f8318890a026e065bc8926cebefb71e9d353 Author: Ken Thompson <ken@research.uucp> Date: Thu Aug 30 19:30:25 1973 -0500 Research V3 development Work on file sys/ken/slp.c Synthesized-from: v3 [...] commit c4999ec655319a01e84d9460d84df824006f9e2d Author: Dennis Ritchie <dmr@research.uucp> Date: Thu Aug 30 19:33:01 1973 -0500 Research V3 development Work on file sys/dmr/kl.c Synthesized-from: v3 [...] commit 355c543c6840fa5f37d8daf2e2eaa735ea6daa4a Author: Brian W. Kernighan <bwk@research.uucp> Date: Tue May 13 19:43:47 1975 -0500 Research V6 development Work on file usr/source/rat/r.g Synthesized-from: v6 [...] commit 0ce027f7fb2cf19b7e92d74d3f09eb02e8fea50e Author: S. R. Bourne <srb@research.uucp> Date: Fri Jan 12 02:17:45 1979 -0500 Research V7 development Work on file usr/src/cmd/sh/blok.c Synthesized-from: v7 [...] Author: Eric Schmidt <schmidt@ucbvax.Berkeley.EDU> Date: Sat Jan 5 22:49:18 1980 -0800 BSD 3 development Work on file usr/src/cmd/net/sub.c View changes to a specific file Run git checkout Research-Release git log --follow --simplify-merges usr/src/cmd/c/c00.c to see dates on which the C compiler was modified. Annotate lines in a specific file by their version Run git blame -C -C usr/sys/sys/pipe.c to see how the Unix pipe functionality evolved over the years. 3cc1108b usr/sys/ken/pipe.c (Ken Thompson 1974-11-26 18:13:21 -0500 53) rf->f_flag = FREAD|FPIPE; 3cc1108b usr/sys/ken/pipe.c (Ken Thompson 1974-11-26 18:13:21 -0500 54) rf->f_inode = ip; 3cc1108b usr/sys/ken/pipe.c (Ken Thompson 1974-11-26 18:13:21 -0500 55) ip->i_count = 2; [...] 1f183be2 usr/sys/sys/pipe.c (Ken Thompson 1979-01-10 15:19:35 -0500 122) register struct inode *ip; 1f183be2 usr/sys/sys/pipe.c (Ken Thompson 1979-01-10 15:19:35 -0500 123) 1f183be2 usr/sys/sys/pipe.c (Ken Thompson 1979-01-10 15:19:35 -0500 124) ip = fp->f_inode; 1f183be2 usr/sys/sys/pipe.c (Ken Thompson 1979-01-10 15:19:35 -0500 125) c = u.u_count; 1f183be2 usr/sys/sys/pipe.c (Ken Thompson 1979-01-10 15:19:35 -0500 126) 1f
Read the full README on GitHub

What Hacker News says

17 sources
> The “why” goes into the PR … This just ensures that the “why” is lost when someone comes looking years later. From experience, SCM history is far more durable than just about any other work product we produce. Over five decades later, commit history was still available for the Unix sources and could be reconstructed: https://github.com/dspinellis/unix-history-repo I’ve used 35-year-old commit messages to help understand a long-standing issue, decades after all other related organization tooling and data had disappeared.
In GPT based tool that writes the commit message for you
Regurgitating from an older comment of mine: https://news.ycombinator.com/item?id=13110538 ---- The first version of UNIX to include `calloc` was Research UNIX V6, and here's how it was implemented: https://github.com/dspinellis/unix-history-repo/blob/Researc... calloc(n, s) { return(alloc(n*s)); } There are several interesting things we learn from poking around V6: - `calloc` originated not on UNIX, but as part of Mike Lesk's "iolib", which was written to make it easier to write C programs portable across PDP 11 UNIX, Honeywell 6000 GCOS, and IBM 370 OS[0]. Presumably the reason calloc is the-way-it-is is hidden in the history of the implementation for GCOS or IBM 370 OS, not UNIX. Unfortunately, I can't seem to track down a copy of Bell Labs "Computing Science Technical Report #31", which seems to be the appropriate ref
Read the rest
erence. - `calloc` predates `malloc`. As you can see in the above code, there was a `malloc`-like function called just `alloc` (though there were also several other functions named `alloc` that allocated things other than memory). (Ok, fine, since V5 the kernel's internal memory allocator happened to be named `malloc`, but it worked differently[1]). [0]: https://github.com/dspinellis/unix-history-repo/blob/Researc... (format with `nroff -ms usr/doc/iolib/iolib`) [1]: https://github.com/dspinellis/unix-history-repo/blob/Researc...
In Why does calloc exist? (2016)
While GNU tar inherits this from the original tar, it doesn't seem to be something intrinsic to the PDP-11 or DEC given that the earlier Unix 'tap' archival system uses 'plain binary numbers ("base 256")', not octals. Here's the V7 tar.c: https://github.com/dspinellis/unix-history-repo/blob/Researc... and it's documentation: https://github.com/dspinellis/unix-history-repo/blob/Researc... The C code clearly shows the octal (I've never used "%o" myself!): sscanf(dblock.dbuf.mode, "%o", &i); sp->st_mode = i; sscanf(dblock.dbuf.uid, "%o", &i); sp->st_uid = i; sscanf(dblock.dbuf.gid, "%o", &i); sp->st_gid = i; sscanf(dblock.dbuf.size, "%lo", &sp->st_size); sscanf(dblock.dbuf.mtime, "%lo", &sp->st_mtime); sscanf(dblock.dbuf.chksum, "%o", &chksum); Now, older versions of Unix supported DECTape, going back to the first manual from 1971 (s
Read the rest
ee the "tap" command at http://www.bitsavers.org/pdf/bellLabs/unix/UNIX_ProgrammersM... , page "5_06", which is 94 of 211 - the command-line interface is clearly related to tar). Here's the tp.5 format description from V6 at https://github.com/dspinellis/unix-history-repo/blob/Researc... DEC/mag tape formats ... Each entry has the following format: path name 32 bytes mode 2 bytes uid 1 byte gid 1 byte unused 1 byte size 3 bytes time modified 4 bytes tape address 2 bytes unused 16 bytes check sum 2 bytes These are in essentially the same order as the "struct file_header" for tar shown in the linked-to essay. But you can see at https://github.com/dspinellis/unix-history-repo/blob/Researc... that mtime is an int[2], so 4 bytes (yes, 16-bit integers; confirm with https://github.com/dspinellis/unix-history-repo/blob/Researc... showing i_mode is an integer). Which means this older "tap" DECTape support uses 'plain binary numbers ("base 256")', not octal.
In The tar archive format, and why GNU tar extracts in quadratic time
There was an interesting discussion in 2019 after a group of people started cracking the passwords of the original Unix developers that had been obtained from an old /etc/passwd file in this repo (https://github.com/dspinellis/unix-history-repo/blob/BSD-3-S...). Rob Pike spoke out against the effort, calling it “distasteful.” https://inbox.vuxu.org/tuhs/CAKzdPgw0Vz8UFbK7c_Jr+RHGMssSxN=... Nonetheless, in the end every password was cracked. Some highlights: Steve Bourne: “bourne” Dennis Ritchie: “dmac” Kirk McKusick: “foobar” Brian Kernighan: “/.,/.,” Ken Thompson: “p/q2-q4!” (a chess move) Bill Joy: cracked but not posted due to Rob Pike’s comments, but it contained a control character
In Continuous Unix commit history from 1970 until today

Showing the 15 most recent of 17 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.