Skip to content

Instantly share code, notes, and snippets.

@alanc
alanc / SRU78-man-page-changes.diff
Created February 25, 2025 18:31
Changes to core OS man pages in Oracle Solaris 11.4 SRU 78
diff -NurbBw 11.4.75/man1/compress.1 11.4.78/man1/compress.1
--- 11.4.75/man1/compress.1 2025-02-23 08:57:56.096312302 -0800
+++ 11.4.78/man1/compress.1 2025-02-23 08:58:18.268002089 -0800
@@ -249,7 +249,7 @@
Newer compression utilities are generally able to produce smaller out-
- put than compress. See bzip2(1), gzip(1), lz4(1), p7zip(1), xz(1), and
+ put than compress. See 7zz(1), bzip2(1), gzip(1), lz4(1), xz(1), and
zstd(1).
@alanc
alanc / SRU75-man-page-changes.diff
Created November 26, 2024 17:10
Changes to core OS man pages in Oracle Solaris 11.4 SRU 75
diff -NurbBw 11.4.72/man1/chmod.1 11.4.75/man1/chmod.1
--- 11.4.72/man1/chmod.1 2024-11-22 11:50:40.289422590 -0800
+++ 11.4.75/man1/chmod.1 2024-11-22 11:52:06.709568034 -0800
@@ -58,9 +58,7 @@
For directories, files are created with BSD semantics for prop-
agation of the group ID. With this option, files and subdirec-
tories created in the directory inherit the group ID of the di-
- rectory, rather than of the current process. For directories,
- the setgid bit can only be set or cleared by using either ab-
- solute or symbolic mode.
@alanc
alanc / SRU72-man-page-changes.diff
Created August 20, 2024 19:54
Changes to core OS man pages in Oracle Solaris 11.4 SRU 72
diff -NurbBw 11.4.69/man1/elfdump.1 11.4.72/man1/elfdump.1
--- 11.4.69/man1/elfdump.1 2024-08-20 12:29:43.276888435 -0700
+++ 11.4.72/man1/elfdump.1 2024-08-20 12:30:00.431797350 -0700
@@ -4,7 +4,7 @@
elfdump - dumps selected parts of an object file
SYNOPSIS
- elfdump [-cCdegGhHiklmnPrsSuvVy] [-p | -w file]
+ elfdump [-cCdegGhHiklLmnPrsSuvVy] [-p | -w file]
[-F fmtopt1,fmtopt2,...] [-I index-expr]
@alanc
alanc / clofork.c
Created August 4, 2024 18:17
Test to see if FD_CLOFORK persists across exec calls on Solaris 11.4
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
int main(void) {
int fd;
char pidbuf[16];
@alanc
alanc / SRU69-man-page-changes.diff
Last active May 25, 2024 20:42
Changes to core OS man pages in Oracle Solaris 11.4 SRU 69
diff -NurbBw 11.4.66/man1/cp.1 11.4.69/man1/cp.1
--- 11.4.66/man1/cp.1 2024-05-25 09:57:46.925657970 -0700
+++ 11.4.69/man1/cp.1 2024-05-25 09:58:10.649742762 -0700
@@ -95,7 +95,9 @@
-p Preserve. The cp utility duplicates not only the contents of
source_file, but also attempts to preserve its ACL, access and
modification times, extended attributes, extended system attrib-
- utes, file mode, and owner and group ids.
+ utes, file mode, and owner and group ids. This includes all the
+ same things for any extended attributes. Retention time is ex-
@alanc
alanc / SRU66-man-page-changes.diff
Created February 24, 2024 01:54
Changes to core OS man pages in Oracle Solaris 11.4 SRU 66
diff -NurbBw 11.4.63/man1/cp.1 11.4.66/man1/cp.1
--- 11.4.63/man1/cp.1 2024-02-23 17:45:28.936885164 -0800
+++ 11.4.66/man1/cp.1 2024-02-23 17:51:32.913974558 -0800
@@ -129,8 +129,15 @@
-S Call fsync(2) on the target file's file descriptor.
- -z Fast Copy. cp will reflink the source and destination files. For
- more information, see the reflink(3C) man page.
+ -z Fast Copy. cp will reflink the source and destination files.
@alanc
alanc / SRU63-man-page-changes.diff
Created November 18, 2023 01:17
Changes to core OS man pages in Oracle Solaris 11.4 SRU 63
diff -NurbBw 11.4.60/man1/dhcpinfo.1 11.4.63/man1/dhcpinfo.1
--- 11.4.60/man1/dhcpinfo.1 2023-11-17 16:41:19.596341251 -0800
+++ 11.4.63/man1/dhcpinfo.1 2023-11-17 16:41:42.818929680 -0800
@@ -57,6 +57,9 @@
name, RFC 1035 format
Classless Route Classless Static Route Iden- CLROUTE
tifier, RFC 3442 format
+ DNSDomSearch An RFC 1035-compressed list FQDN
+ of fully qualified domain
+ names
@alanc
alanc / gist:c2c1dc37f73015e85f45a18374623e60
Created September 18, 2023 22:17
SunOS 4.0 filesystem(7) man page
Miscellaneous Information Manual FILESYSTEM(7)
NAME
filesystem - file system organization
SYNOPSIS
/
/usr
@alanc
alanc / SRU60-man-page-changes.diff
Created August 24, 2023 00:58
Changes to core OS man pages in Oracle Solaris 11.4 SRU 60
diff -NurbBw 11.4.57/man1/cp.1 11.4.60/man1/cp.1
--- 11.4.57/man1/cp.1 2023-08-23 17:32:50.217561201 -0700
+++ 11.4.60/man1/cp.1 2023-08-23 17:33:19.180382437 -0700
@@ -6,28 +6,28 @@
cp - copy files
SYNOPSIS
- /usr/bin/cp [-Pfipz@/] source_file target_file
+ /usr/bin/cp [-PSfipz@/] source_file target_file
@alanc
alanc / SRU57-man-page-changes.diff
Last active May 25, 2023 21:04
Changes to core OS man pages in Oracle Solaris 11.4 SRU 57
diff -NurbBw 11.4.54/man1/error.1 11.4.57/man1/error.1
--- 11.4.54/man1/error.1 2023-05-24 15:26:43.843782933 -0700
+++ 11.4.57/man1/error.1 2023-05-24 15:27:23.176004099 -0700
@@ -61,10 +61,10 @@
-q error asks whether the file should be touched. A 'y'
- or 'n' to the question is necessary to continue.
- Absence of the -q option implies that all referenced
- files (except those referring to discarded error mes-