K
Kirk McKusick
mckusick.com · Personal blog · on HN since 2010
Marshall Kirk McKusick, a FreeBSD core developer, hosts his FreeBSD courses, books, soft updates papers, and BSD history material.
What HN saysHN commenters recommend his FreeBSD kernel course and book for learning operating system internals, and cite his soft updates paper in file system discussions.
18HN people shared it
16linked it in comments
2stories submitted
12story points
1 year agolast shared
2010people per year2026
Most-shared posts
- 1Softdep2 people · first shared 2023
- 2Foglio.jpg2 people · first shared 2024
- 3Advdescrip2 people · first shared 2018
- 4Suj.pdf2 people · first shared 2014
- 5FreeBSD Kernel Internals Evening Course Taught by a Core Commiter1 people · 10 points · first shared 2014 · 2 comments on HN
- 6CSRG Archive, now on DVD with extra non-BSD software1 people · 2 points · first shared 2019 · discussion on HN
- 7Videoorderform1 people · first shared 2024
- 8Introdescrip1 people · first shared 2016
- 9Index1 people · first shared 2014
- 10Calder lic.pdf1 people · first shared 2011
- 11Introorderform1 people · first shared 2014
- 12Introinterestform1 people · first shared 2014
- 13Usenix1 people · first shared 2024
- 14Advorderform1 people · first shared 2010
- 15Courses1 people · first shared 2023
What HN people wrote when they linked it
kps · 2024-01-17
Foglio's drawing was for UNIX, a couple years before the first BSD releases. Unfortunately the original was lost, and the best you can find online now are just photos of t-shirts like https://www.mckusick.com/beastie/jpg/foglio.jpg
antoncohen · 2022-07-13
In my experience the recruiters are great about helping you prep. They have a PDF called "Google Interview Prep Guide Site Reliability Engineer" that talks about SRE-SE vs. SRE-SWE vs. SWE, and links to books and topics to study.
Kirk McKusick's "FreeBSD Kernel Internals" course[1] was recommended to me, and it was excellent. But not cheap at $1495.
[1] https://www.mckusick.com/courses/introdescrip.html
git-pull · 2018-01-21
I recommend (by most expensive, to free):
Marshall Kirk McKusick's FreeBSD Intensive Code Walkthrough: https://www.mckusick.com/courses/advdescrip.html
Also, The Design and Implementation of the FreeBSD Operating System (2nd Edition): https://www.amazon.com/Design-Implementation-FreeBSD-Operating-System/…
Thirdly: grab a copy of FreeBSD (or OpenBSD) and (a) set it up in VirtualBox and SSH it into locally (b) use an old ThinkPad. Then grab the source code of the base system. Build and install it. And start reading code of things like usr.bin/grep/grep.c
ja30278 · 2010-08-16
Surprised not to see "Design and Implementation of the FreeBSD Operation System" mentioned yet (http://www.amazon.com/Design-Implementation-FreeBSD-Operating-System/d…
McKusick's 'Kernel Internals' class is based on this, and is well worth your time (though it's a bit pricey to purchase the videos on your own: https://www.mckusick.com/courses/advorderform.html)
BSDobelix · 2025-10-22
>Softupdates was never an approach towards journaling.
Ehmm it is a alternative approach for fs consistency then journaling:
>>The use of soft updates obviates the need for a separate log or for most synchronous writes.
https://www.mckusick.com/softdep/
drewg123 · 2024-03-07
Oh! I forgot he still sells those. Its now offered as a downloadable video file as well.
See https://www.mckusick.com/history/videoorderform.html
throw0101d · 2024-02-01
A journal(-like) mechanism was added to soft-upates by McKusick in the 2010 timeframe:
* https://www.youtube.com/watch?v=_NuhRkiInvA (BSDCan)
* https://www.mckusick.com/softdep/suj.pdf
Which also allows snapshots:
* https://freebsdfoundation.org/project/snapshots-on-filesystems-using-j…
See also "Journaling versus Soft Updates: Asynchronous Meta-data Protection in File Systems":
* https://www.seltzer.com/assets/publications/Journaling-versus-Soft-Upd…
pengaru · 2023-07-05
In case you haven't already, you might want to check out the McKusick courses (available as videos). They're not cheap though, maybe you can find pirated copies.
I was fortunate enough to see some back in the VHS days when someone in a local LUG convinced their employer to buy them as a way to support FreeBSD and give the team something to watch together (and recruit from the LUGs via hosted viewings no doubt).
https://www.mckusick.com/courses/
throw0101a · 2023-06-17
> It's kludgey to graft snapshots […]
McKusick did this for FreeBSD UFS/FFS:
* https://wiki.freebsd.org/ExampleUfsSnapshots
* https://people.freebsd.org/~rse/snapshot/
* https://man.freebsd.org/cgi/man.cgi?query=mksnap_ffs
Various papers at:
* http://www.mckusick.com/softdep/
gtirloni · 2023-04-18
For videos, it might be this: https://www.mckusick.com/courses/advdescrip.html
KedarMhaswade · 2014-09-17
You can register here: https://www.mckusick.com/courses/introinterestform.html and if you are not in the Bay Area, you could buy the videos.
kqr2 · 2014-09-17
It looks like the lecture videos are still available, however, they are somewhat expensive.
https://www.mckusick.com/courses/index.html
https://www.mckusick.com/courses/introorderform.html
sigil · 2014-06-10
I understand the problem scenario with ext3/ext4 journalling you're referring to here and below.
However, HN runs on FreeBSD, and my understanding is that the combination of soft-updates + journalling there actually do provide atomic rename, even in the case of catastrophic failure. McKusick talks about it here: http://www.mckusick.com/softdep/suj.pdf
Also, just to anchor the discussion a bit, the HN code does use the "write foo.tmp; mv foo.tmp foo" trick all over the place. (Or at least, the most recent version of news.arc I've seen does.)
https://github.com/wting/hackernews/blob/master/arc.arc#L841
binarycrusader · 2011-06-26
It's posted at groklaw here:
http://www.groklaw.net/articlebasic.php?story=20040224035032116
And here:
http://www.mckusick.com/csrg/calder-lic.pdf
dagmx · 2024-10-15
This is sort of incorrect. The BSD daemon was originally drawn by Phil Foglio. As seen here https://www.mckusick.com/beastie/jpg/foglio.jpg
Lasseter did a later (more current and iconic) revision.
https://en.wikipedia.org/wiki/BSD_Daemon?wprov=sfti1
Also John did more than just direct Toy Story.
Lasseter was one of the founders of Pixar , directed several movies, took over the chief creative officer role for both Pixar and Walt Disney Animation, before eventually leaving after several allegations of sexual impropriety. He’s now heading up Skydance Animation for Larry Elissons son, and has a contractual liability clause for any further impropriety.
One of the big “never meet your heroes” examples, along with the other Pixar co-founder, Ed Catmull who was behind the industry wide wage fixing scandal. On the flip side he also invented so many technologies that are key to computer graphics today, including the alpha channel.
Somehow Steve jobs, famously abrasive, was the least problematic of the founders.
vanderZwan · 2024-01-18
> The BSD Daemon was first drawn in 1976 by comic artist Phil Foglio. Developer Mike O'Brien, who was working as a bonded locksmith at the time, opened a wall safe in Foglio's Chicago apartment after a roommate had "split town" without leaving the combination. In return Foglio agreed to draw T-shirt artwork for O'Brien, who gave him some Polaroid snaps of a PDP-11 system running UNIX along with some notions about visual puns having to do with pipes, demons/daemons, forks, a "bit bucket" named /dev/null, etc.[3] Foglio's drawing showed four happy little red daemon characters carrying tridents and climbing about on (or falling off of) water pipes in front of a caricature of a PDP-11 and was used for the first national UNIX meeting in the US (which was held in Urbana, Illinois).
Wow, Phil Foglio as well? The origin story gets even more interesting. Here is a page that features the original artwork: http://www.mckusick.com/beastie/shirts/usenix.html