lkml.org 
[lkml]   [2001]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROPOSAL: dot-proc interface [was: /proc stuff]
Alexander Viro wrote:
>
> On Tue, 6 Nov 2001, Tim Jansen wrote:
>
> > But how can the user know this without looking into the kernel? Compare it to
> > /proc/mounts. Proc mounts escapes spaces and other special characters in
> > strings with an octal encoding (so spaces are replaced by '\040').
>
> Ah, yes - the horrible /proc/mounts. Check that code in 2.4.13-ac8, will
> you?
>
> Yes, current procfs sucks. We got a decent infrastructure that allows
> to write that code easily. Again, see -ac8 and watch fs/namespace.c
> code dealing with /proc/mounts.
>
> No need to play silly buggers with "one value per file" (and invite the
> Elder Ones with applications trying to use getdents()). Sigh...

Getdents() can be removed since 2.0 times. I never noticed *any*
application
actually using it.
-
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 13:12    [W:0.142 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site