Re: warn file in /var/log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28/06/07, Devvrat Tripathi <tripathidevvrat@xxxxxxxxx> wrote:
The warn file in /var/log has all the KERN_WARN messages from printk. I
wonder how the kernel does it. I mean how does it actually saves all that
data into a file on the disk.

The kernel doesn't. klogd/syslog does.
The kernel just logs to a buffer in memory, then userspace tools pull
the messages out of there and write them to files.


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux