]> git.ipfire.org Git - people/ms/linux.git/blobdiff - Documentation/admin-guide/kernel-parameters.txt
Merge tag 'mm-nonmm-stable-2022-08-06-2' of git://git.kernel.org/pub/scm/linux/kernel...
[people/ms/linux.git] / Documentation / admin-guide / kernel-parameters.txt
index f251f5cce63baae2a803709ca86a5906dfe10a39..bab2b0bf5988dfc8dfce798f6ea3086e82eed75e 100644 (file)
 
        hlt             [BUGS=ARM,SH]
 
+       hostname=       [KNL] Set the hostname (aka UTS nodename).
+                       Format: <string>
+                       This allows setting the system's hostname during early
+                       startup. This sets the name returned by gethostname.
+                       Using this parameter to set the hostname makes it
+                       possible to ensure the hostname is correctly set before
+                       any userspace processes run, avoiding the possibility
+                       that a process may call gethostname before the hostname
+                       has been explicitly set, resulting in the calling
+                       process getting an incorrect result. The string must
+                       not exceed the maximum allowed hostname length (usually
+                       64 characters) and will be truncated otherwise.
+
        hpet=           [X86-32,HPET] option to control HPET usage
                        Format: { enable (default) | disable | force |
                                verbose }