On Fri, 2007-03-09 at 14:54 +0100, Miklos Szeredi wrote:
> Comments are welcome.
> 
> ----
> This patch adds support for finding out the current file position,
> open flags and possibly other info in the future.
> 
> These new entries are added:
> 
>   /proc/PID/fdinfo/FD
>   /proc/PID/task/TID/fdinfo/FD
> 
> For each fd the information is provided in the following format:
> 
> pos:  1234
> flags:        0100002

I think this information would be a little easier to access if there
would be a single file per pid or thread containing something like:

handle  flags   pos     path
0       0100002 1234    /dev/pts/1
1       0100004 5678    /tmp/output
etc.

-- 
David Kleikamp
IBM Linux Technology Center

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to