GNU bug report logs -
#30464
[PATCH 0/2] Add console-agetty-service.
Previous Next
Full log
Message #32 received at 30464 <at> debbugs.gnu.org (full text, mbox):
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
> Oops, didn't see /var/log/shepherd.log - but I think it should just
> use syslog for that - and it's possible to use syslog for that by
> writing to /dev/kmsg .
>
> Does the Hurd with /dev/kmsg ?
It doesn’t have /dev/kmsg, but it has /dev/klog:
--8<---------------cut here---------------start------------->8---
ludo <at> darnassus:~$ ls -l /dev/klog
crw-rw---- 1 root root 0, 0 Jul 16 2015 /dev/klog
ludo <at> darnassus:~$ showtrans /dev/klog
/hurd/streamio kmsg
--8<---------------cut here---------------end--------------->8---
> How do they solve early boot logging ?
GNU Mach has a special “console” device that early boot processes can
open and write too, as in:
https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/startup/startup.c#n731
It’s comparable to /dev/kmsg, but it exists before file system servers
are brought up, which is why it doesn’t have an entry in the file
system hierarchy.
Ludo’.
This bug report was last modified 3 years and 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.