Skip to content

Instantly share code, notes, and snippets.

@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-
diff -NurbBw 11.4.51/man1/acctcom.1 11.4.54/man1/acctcom.1
--- 11.4.51/man1/acctcom.1 2023-02-14 17:42:27.045093171 -0800
+++ 11.4.54/man1/acctcom.1 2023-02-14 17:42:44.034699624 -0800
@@ -12,14 +12,13 @@
[-S time] [-u user] [filename]...
DESCRIPTION
- The acctcom utility reads filenames, the standard input, or
- /var/adm/pacct, in the form described by acct.h(3HEAD) and writes
- selected records to standard output. Each record represents the execu-
diff -NurbBw 11.4.48/man1/du.1 11.4.51/man1/du.1
--- 11.4.48/man1/du.1 2022-11-16 10:31:48.947151637 -0800
+++ 11.4.51/man1/du.1 2022-11-16 10:31:57.354741496 -0800
@@ -109,52 +109,10 @@
All sizes are scaled to a human readable format, for example, 14K,
234M, 2.7G, or 3.0T. Scaling is done by repetitively dividing by
- 1024, unless otherwise specified.
-
- --scale specified without arguments enables default scaled output,
diff -NurbBw 11.4.45/man1/chmod.1 11.4.48/man1/chmod.1
--- 11.4.45/man1/chmod.1 2022-08-16 11:04:42.897819450 -0700
+++ 11.4.48/man1/chmod.1 2022-08-16 11:05:27.904394629 -0700
@@ -1595,9 +1595,9 @@
The following examples replace system attributes of a ZFS file:
- $ chmod S=v{archive,hidden,readonly,system,appendonly,\
+ $ chmod 'S=v{archive,hidden,readonly,system,appendonly,\
nonodump,immutable,noav_modified,noav_quarantined,\
@alanc
alanc / SRU45-man-page-changes.diff
Last active May 17, 2022 21:56
Man page changes in Solaris 11.4.45
diff -NurbBw 11.4.42/man1/awk.1 11.4.45/man1/awk.1
--- 11.4.42/man1/awk.1 2022-05-17 14:50:11.644580932 -0700
+++ 11.4.45/man1/awk.1 2022-05-17 14:50:54.523512370 -0700
@@ -1209,7 +1209,7 @@
Example 10 Write lines longer than 72 characters:
- {length($0) > 72}
+ length($0) > 72 {print}
@alanc
alanc / SRU42-man-page-changes.diff
Created February 15, 2022 20:09
Man page changes in Solaris 11.4.42
diff -NurbBw 11.4.39/xman1/calendar.1 11.4.42/xman1/calendar.1
--- 11.4.39/xman1/calendar.1 2022-02-15 11:15:45.471644922 +0000
+++ 11.4.42/xman1/calendar.1 2022-02-15 11:16:10.622151486 +0000
@@ -112,12 +112,12 @@
calendar is no longer in the default root crontab. Because of the net-
work burden calendar - can induce, it is inadvisable in an environment
running LDAP or NIS with a large number of users. If, however, the use-
- fulness of calendar outweighs the network impact, the super-user may
- run crontab -e to edit the root crontab. Otherwise, individual users
- may wish to use crontab -e to edit their own crontabs to have cron