Re: logging data to a file.

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

 



Greg KH wrote:
> If relayfs doesn't work for you (and I do agree that it does have some
> odd attributes at times), then just use debugfs instead of procfs.  You
> can use your same seqfile interface, so it should be a very small change
> to your code.

Hmmm.  I didn't know debugfs had similar APIs.
I'll check this out pronto.  Thanks!

> If you have any questions about debugfs, please let me know.  It's quite
> easy to just add a single line to /etc/fstab to always mount the thing,
> so you can't use that as an excuse :)

Many of the embedded boards I work with aren't set up
to automatcially process /etc/fstab.  But since it's still
only a single line in some startup script, the point is taken.
(It's rare that I'm missing 'mount', but it has happened.)

Regards,
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================


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