Goodness, the #Unix 32/V, #BSD 4 & #OpenSolaris versions of ps.c are so completely different. It’s clear there’s been a complete rewrite for Solaris, but who knows what happened between Ancient Unix and System V R4. I could probably get tapes, then again I might not be able to.
It’s also clear how different these systems’ features and kernel representation of processes were.
UNIX 32/V: https://github.com/dspinellis/unix-history-repo/blob/Bell-32V-Snapshot-Development/usr/src/cmd/ps.c
BSD: https://github.com/dspinellis/unix-history-repo/blob/BSD-SCCS/usr/src/bin/ps/ps.c
OpenSolaris: https://github.com/illumos/illumos-gate/blob/7c478bd95313f5f23a4c958a745db2134aa03244/usr/src/cmd/ps/ps.c
#illumos #opensolaris #BSD #Unix
Looks like the last code commit from #BSD #csh to get into #illumos was:
1990-07-01: strerror(); set proc in pgrp before setting terminal
Marc Teitelbaum
https://github.com/dspinellis/unix-history-repo/commit/c6261f671d723bf1898e8e05b1aa3b9ac00164e8
The first code commit from BSD csh not in illumos was:
1990-11-09: remove vestiges of AT&T shell
Keith Bostic
https://github.com/dspinellis/unix-history-repo/commit/46d46a70cd3ce5b5996e53856a3ef77a8cdd2fcf
Oh, the irony.
#unix
The amazing thing about the #unix history repo is that you can concretely see things like that #illumos’ csh dinit() https://github.com/illumos/illumos-gate/blob/7c478bd95313f5f23a4c958a745db2134aa03244/usr/src/cmd/csh/sh.dir.c
Must have diverged from #BSD between the 1985 copyright addition and major rewrite in 1991, likely after 1988: https://github.com/dspinellis/unix-history-repo/blob/b6bb0a49eb1b65a5164d20a262c96991710c53d2/usr/src/bin/csh/dir.c
@ramin_hal9001 #UNIX distributions have a traditionally included a file of words:
https://en.wikipedia.org/wiki/Words_(Unix)
There are a few different sources, here’s #illumos’ as part of look(1)
https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/look/words
#illumos / #solaris users: https://github.com/nshalman/tailscale/releases/tag/v1.48.1-sunos is available. #Tailscale
After struggling for years with the side effect of loaned buffers not being returned fast enough. This finally landed: https://github.com/illumos/illumos-gate/commit/d1d478f315055349ae24efa167cc7ccf5b464dd6 stable bhyve VMs and performance from now on! #bhyve #illumos
Try "well known PSKs" too. I should just blog about it.
Another crime Oracle committed was to close things before IKEv2 finished. My biggest regret during my Sun years was wasting a year trying to port racoon2 over to OSol instead of just starting on in.ikev2d. Fellow #illumos dev @jbk has done some fine follow up work on what escaped into the open, but we had more ready post-August-2010. 🥲
Curious about Rust FFI or learning about a cool OS feature you might not have known about? Then check out my latest blog post about illumos contracts with rust! #rustlang #illumos
https://lightsandshapes.com/posts/process-contracts-with-rust/
I want to start diving into actual dev work trying to get some #RaspberryPi devices added to #illumos (I’m scared of graphics stuff, but the Wi-Fi and Ethernet have implementations elsewhere I can attempt to horribly port)
But first I have to write up a simpler howto so anyone with USD$150 can get as far as I have. I mean, it’s a terribly incomplete port by modern Unix standards, but it’ll run vim so it can’t be that broken.
#illumosonarm #illumos #RaspberryPi
Got my #illumos braich image running on the #RaspberryPi, uart pins connected through the official debug probe, and am playing around with screen to talk to the serial console before I dig into minicom. I hadn’t realized how deep this rabbit hole goes. But I really want to understand how to get a minimal term wired to VGA.
But now that I have a working testbed, I have to be able to compile my own image. Guess I’m going to have to track down my missing header warnings.
#illumosonarm #RaspberryPi #illumos
Taking a break from trying to build my own #illumos image from arm64-gate because I’m getting frustrated.
Instead, I’m going to use the known (well, presumed) good image at:
https://downloads.omnios.org/media/braich/
Then I can at least test the hardware setup & write up my progress so far.
#illumosonarm #RaspberryPi #illumos
@leftpaddotpy @zwol @b0rk And drtuss is just a demonstration of broader dtrace capabilities. I’m sure @bcantrill could write a book on how these integrate into system under the hood, at least for #illumos or #solaris. But I remember he spoke about consulting with Apple engineers about their impl, and has at least one open bug to backport improvements from #freebsd’s impl.
Stopping the build machine for the night. Minimal memory ain’t enough for compiling arm64-gate, and I’ve hit a strange issue involving libbrand.h. But lots more progress learning my way around.
And I found a cute query for bite-size issues in #illumos should I need more to do: https://www.illumos.org/projects/illumos-gate/issues?utf8=✓&set_filter=1&sort=id%3Adesc&f%5B%5D=cf_7&op%5Bcf_7%5D=%3D&v%5Bcf_7%5D%5B%5D=Bite-size&f%5B%5D=status_id&op%5Bstatus_id%5D=o&f%5B%5D=&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=priority&c%5B%5D=subject&c%5B%5D=assigned_to&c%5B%5D=updated_on&c%5B%5D=done_ratio&group_by=&t%5B%5D=
Alright, got mosh and my mobile key on the build box. Now I’m making this #illumos on #arn image build script ensure all its dependencies exist so it can run from a blank slate. Once I get a full run-through, we’ll build a new box and see how many assumptions I have baked in…
I’m almost certainly duplicating someone else’s work, but at this way I’ll be able to understand what’s actually happening in whatever build script is building the already published braich image.
#IllumosOnArm
What a beautiful foreshadowing, this Sun☀️N1 Grid OE DataCenters, as Business focused Service-Centric abstraction way back in 2004, before Cloudy storms ⛈️ crashed landed with DevOps Platform Engineer fanatics! 🤖
Perhaps, #oxidecomputer racks are its rising PheN1x! #illumos #sunmicrosystems
#oxidecomputer #illumos #sunmicrosystems
#Tailscale version 1.46.1 for #illumos / #solaris has been tagged.
https://github.com/nshalman/tailscale/releases/tag/v1.46.1-sunos
@josephholsten @bcallah FWIW on #illumos and #SmartOS I use https://github.com/TritonDataCenter/pkgsrc-extra/tree/main/gcc13 instead as it provides the illumos-specific patchset.
After testing on a couple of my live systems there are a few small tweaks still to go, but if #SmartOS or #illumos users want to give it a spin then I have trunk binaries:
regular: https://us-central.manta.mnx.io/pkgsrc/public/tmp/pkgin-22.10.99/pkgin
tools (gz): https://us-central.manta.mnx.io/pkgsrc/public/tmp/pkgin-22.10.99/pkgin-tools