Documenting parts of the IRIX userland
#1
Documenting parts of the IRIX userland
A lot of this thread is just gonna be me providing insight, through hexediting, symbol tables and c library calls, how various commands and pieces of the IRIX userland work. This will hopefully provide others with information regarding how IRIX's internals work, how they are unique, and perhaps lay the groundwork for me, or others, to replace and update utilities. 

MV/LN/CP

Might surprise you guys, but these are all the same command on IRIX. I determined this through looking at the symbols used by each (they're nearly identical) and how they all stack up in memory. It's a rather unique setup, and one I've not seen in any other OS. This does not mean the binaries are symlinked, they aren't. But the code is literally identical across the three commands. 

patch

This was a bit surprising to me. IRIX's patch is just an old version of GNU patch. 1.1, dated 1995 to be exact. This one wasn't hard, just comparing neko_patch to IRIX patch.

tar

I previously determined this in another thread to be an old version of tar derived from 4.4BSD and probably shared with solaris and other SVR4 UNIXes. 

CPIO

I'm reasonably certain this a RISCOS (no, not the ARM OS, the UNIX one) binary. There's some similarities in the RISCOS code that's on bitsavers with the symbol tables generated by this. 

Sort, uniq, wc

4.4BSD-derived. 

diff
GNU diff not sure of the version, but it's probably a very old version as it doesn't accept all new flags in use by GNU diff nowadays. 

I'll add more, but this is kinda fun.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
04-14-2021, 10:39 PM


Messages In This Thread
Documenting parts of the IRIX userland - by Raion - 04-14-2021, 10:39 PM
RE: Documenting parts of the IRIX userland - by jpstewart - 04-14-2021, 11:22 PM
RE: Documenting parts of the IRIX userland - by Raion - 04-14-2021, 11:41 PM
RE: Documenting parts of the IRIX userland - by jpstewart - 04-15-2021, 01:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)