3 ms·
Fun stuff. My one contribution was the libc function getsubopt() which originated in what was the first release of Solaris (code named Zeus) and picked up in th
by ChuckMcM 9y ago
Fun stuff. My one contribution was the libc function getsubopt() which originated in what was the first release of Solaris (code named Zeus) and picked up in the Net-2 release.
I was the engineer responsible for harmonizing the 'mount' command between SunOS (aka BSD 4.2+) and SysV R3.2. The way that worked usually is that the command would get options from both sides of the tree and we would argue about the ones that overlapped, but in the case of mount the AT&T System engineer was totally appalled that mount had a -all option to mount everything in the /etc/fstab file. AT&T was pushing a new script named 'mountall' what would mount all file systems. They also hated multi-letter options like '-o rw,noatime'. Their argument was that there wasn't a subroutine in the C library to parse multi-letter options like we had for the mount command.
So I invented getsubopt which, with Bill Shannon's sign off, we made a 'standard part of SunOS'. And then we added it as something to be included in the consolidated lib C.
Going through that exercise of trying to harmonize System V and SunOS into the one true UNIX was the weirdest thing. AT&T had 'system engineers' who never wrote code, and Sun just had engineers who actually wrote code. Some of the technical disagreements were settled at the 'VP' level (Eric Schmidt at the time) where Eric and his AT&T counter part would 'trade' concessions that had escalated to that level. Like I said, very weird.