summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-07-21 10:17:43 +0100
committerPádraig Brady <P@draigBrady.com>2015-07-22 01:55:14 +0100
commit6d67649d86a0dcfefb4dfbc0c29f8bb7595f14bb (patch)
tree5d37cd4d4e767c6aa23184c9e41d9614d1c2fe47 /doc
parent0b0d38b762a293ea7c3427750d525a3ec235787c (diff)
downloadcoreutils-6d67649d86a0dcfefb4dfbc0c29f8bb7595f14bb.tar.xz
doc: discourage use of uname -i and -p options
* src/uname.c (usage): State that the non POSIX -i and -p options are non-portable. * doc/coreutils.texi (uname invocation): Mention the discrepancies even across GNU/Linux distros, and that the results should be used as informational only, rather than impacting any logic decisions. Fixes http://bugs.gnu.org/13001
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 58084139c..6f62f6dbc 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -15605,8 +15605,8 @@ and the hardware platform name if they are unknown.
@cindex platform, hardware
Print the hardware platform name
(sometimes called the hardware implementation).
-Print @samp{unknown} if the kernel does not make this information
-easily available, as is the case with Linux kernels.
+Print @samp{unknown} if this information is not available.
+Note this is non-portable (even across GNU/Linux distributions).
@item -m
@itemx --machine
@@ -15634,8 +15634,8 @@ Print the network node hostname.
@cindex host processor type
Print the processor type (sometimes called the instruction set
architecture or ISA).
-Print @samp{unknown} if the kernel does not make this information
-easily available, as is the case with Linux kernels.
+Print @samp{unknown} if this information is not available.
+Note this is non-portable (even across GNU/Linux distributions).
@item -o
@itemx --operating-system