Re: Xconsole-Klamauk

From: olli hauer <ohauer(at)GMX.de>
Date: Wed, 20 Jul 2016 18:44:41 +0200

On 2016-07-20 17:58, Marc Santhoff wrote:
> On Mi, 2016-07-20 at 14:57 +0200, Alexander Klein wrote:
>> Hallo zusammen,
>>
>> damit xconsole endlich ordentlich funktionieren möge, habe ich, brav dem
>> Handbuch folgend, die Zeile
>>
>> /dev/ttyv0 0600 /dev/console
>>
>> in /etc/fbtab eingetragen.
>
> Habe ich vor über einem Jahrzehnt aufgegeben. Nicht ganz das selbe, aber
> mir reicht ein xterm mit:
>
> $ tail -f /var/log/messages
>
> Zumindest um USB-Geräten beim angemeldet werden zuzusehen, ist das OK.
> Schätze da ist gegenüber /dev/console noch etwas Verzögerung, bis die
> Nachrichten in die Datei durchgeschrieben werden.
>
> OK, das Problem mit dem "log turnover" habe ich nicht gelöst, dann muß
> ich tail neu starten...
>

Ein "tail -F ..." sollte funktionieren

Aus tail(1):

 -F The -F option implies the -f option, but tail will also check to
    see if the file being followed has been renamed or rotated. The
    file is closed and reopened when tail detects that the filename
    being read from has a new inode number.

    If the file being followed does not (yet) exist or if it is
    removed, tail will keep looking and will display the file from
    the beginning if and when it is created.

-- 
olli
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 20 Jul 2016 - 18:44:49 CEST

search this site