lkml.org 
[lkml]   [2004]   [Dec]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 10 Dec 2004 09:00:22 +0100 (MET)
FromJan Engelhardt <>
SubjectRe: [RFC PATCH] debugfs - yet another in-kernel file system
>> I have to admit that adding another filesystem that is very like procfs or
>> sysfs make some kind of redundancy.
>
>Why?  The main issue is the discussion usually goes like this:
>
>Me:  Hey, the /proc/driver/foo/foo_value really shouldn't be in proc.
>Developer:  Ok, but it has a lot of really good debug stuff in it.  Can
>I put it in sysfs?
>Me:  No, sysfs is for one-value-per-file whenever possible.  It needs to
>go somewhere else.
>Developer:  Well, if you don't have anywhere else to put it, why are you
>even bringing this up at all.  Go away and leave me alone.

So how about adding seqfiles (or multi-value-per-file things) to sysfs?

>As for "another filesystem", it's tiny due to using libfs, and it will
>compile away into nothing if not selected (so in the end, provides the
>ability to make the final kernel image smaller.)

Ah that's good news.



Jan Engelhardt
-- 
ENOSPC
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2008