Re: KERN_ALERT doesn´t work

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

 



> I´m implementing a syscall and I want to write some
> information on the user terminal. I´ve heard that
> using printk(KERN_ALERT"String") could return "String"
> to the terminal, but it doesn´t. It just modifies the
> file /var/log/messages. My distribution is Fedora Core
> 2 (kernel 2.6.5). 

With printk you send text to the syslog, not the terminal itself...

-- 
Matias Valdenegro
Centro de Difusion del Software Libre
www.cdsl.cl

Software patents kill innovation.
        -- NO to software patents
           http://swpat.ffii.org

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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