lkml.org 
[lkml]   [1999]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: [patch] bugfix for fs/proc/array.c FIXME tasklist_lock


On Mon, 15 Mar 1999, Jeremy Fitzhardinge wrote:
> The records are there because the data has a record nature. One line per
> mapping, a fixed number of fields per line. What read() does in returning the
> data to the user is irrelevent - the data is inherently record-oriented.
There are many regular files in /proc. Many of them contain data that can
be treated as "record oriented". But they are not, because it was easy
enough
to implement them as proper regular files (i.e. a stream of bytes, NO
records). For /proc/<pid>/maps it is not easy to do that. And now you tell
me that it is "intentional"? No, its just an excuse, although a valid and
good one. Good, but not perfect. Yet Linux is.

Regards,
Tigran.


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

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.045 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site