summaryrefslogtreecommitdiffstats
path: root/login-utils/agetty.8
diff options
context:
space:
mode:
authorKarel Zak2010-08-18 09:02:03 +0200
committerKarel Zak2010-08-18 09:35:42 +0200
commit848e5e6ce3978d921366b799d907a78a12299924 (patch)
treec91dd51f9fbca32d125629aa3617e21031092570 /login-utils/agetty.8
parentlibblkid: wrong PT detection on RAID0 (diff)
downloadkernel-qcow2-util-linux-848e5e6ce3978d921366b799d907a78a12299924.tar.gz
kernel-qcow2-util-linux-848e5e6ce3978d921366b799d907a78a12299924.tar.xz
kernel-qcow2-util-linux-848e5e6ce3978d921366b799d907a78a12299924.zip
agetty: add -s to reuse existing baud rate
For example: /sbin/agetty -s /dev/ttyS0 9600 will reuse the speed the kernel configured on the port. If the setting from kernel is useless (tty returns BREAK character) then the baud rate from command line (9600) is used. Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=623685 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/agetty.8')
-rw-r--r--login-utils/agetty.816
1 files changed, 5 insertions, 11 deletions
diff --git a/login-utils/agetty.8 b/login-utils/agetty.8
index 876137475..53037dda5 100644
--- a/login-utils/agetty.8
+++ b/login-utils/agetty.8
@@ -3,7 +3,7 @@
agetty \- alternative Linux getty
.SH SYNOPSIS
-.BR "agetty " [\-8ihLmnUw]
+.BR "agetty " [\-8ihLmnsUw]
.RI "[-f " issue_file ]
.RI "[-l " login_program ]
.RI "[-I " init ]
@@ -12,16 +12,6 @@ agetty \- alternative Linux getty
.I port
.I baud_rate,...
.RI [ term ]
-.br
-.BR "agetty " [\-8ihLmnw]
-.RI "[-f " issue_file ]
-.RI "[-l " login_program ]
-.RI "[-I " init ]
-.RI "[-t " timeout ]
-.RI "[-H " login_host ]
-.I baud_rate,...
-.I port
-.RI [ term ]
.SH DESCRIPTION
.ad
@@ -163,6 +153,10 @@ Force the line to be a local line with no need for carrier detect. This can
be useful when you have a locally attached terminal where the serial line
does not set the carrier detect signal.
.TP
+\-s
+Try to keep the existing baud rate. The baud rates from
+the command line are used when agetty receives a BREAK character.
+.TP
\-U
Turn on support for detecting an uppercase only terminal. This setting will
detect a login name containing only capitals as indicating an uppercase