KERN_ALERT doesn´t work

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

 



Hi,

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). Did somebody get the same problem?
Did I do something wrong? The syscall is working
perfectly, the only problem is that I want to return
information to the user, and using the copy_to_user
function isn´t appropriate, once there are lots of
information (more than 5) I want to retrieve, with
different types (not only string).

Thanks



______________________________________________________________________

Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
http://br.info.mail.yahoo.com/

--
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