Re: [patch] add file position info to proc

2007-03-27 Thread Miklos Szeredi
> > > > > For each fd the information is provided in the following format: > > > > > > > > > > pos: 1234 > > > > > flags:012 > > > > > > > > Octal? Maybe we should use more traditional hex here? > > > > It's octal in , so it's easier for a human to read. > > > > > Good point. The

Re: [patch] add file position info to proc

2007-03-27 Thread Pavel Machek
Hi! > > > > For each fd the information is provided in the following format: > > > > > > > > pos:1234 > > > > flags: 012 > > > > > > Octal? Maybe we should use more traditional hex here? > > It's octal in , so it's easier for a human to read. > > > Good point. The O_foo flags are

Re: [patch] add file position info to proc

2007-03-27 Thread Dave Hansen
On Sun, 2007-03-25 at 15:45 -0800, Andrew Morton wrote: > On Sat, 24 Mar 2007 23:04:09 +0100 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > This patch adds support for finding out the current file position, > > open flags and possibly other info in the future. > > > > These new entries are

Re: [patch] add file position info to proc

2007-03-27 Thread Miklos Szeredi
> > Hi! > > > > > From: Miklos Szeredi <[EMAIL PROTECTED]> > > > > > > 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 > > >

Re: [patch] add file position info to proc

2007-03-27 Thread Andrew Morton
On Tue, 27 Mar 2007 21:24:20 + Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > > From: Miklos Szeredi <[EMAIL PROTECTED]> > > > > 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:

Re: [patch] add file position info to proc

2007-03-27 Thread Jörn Engel
On Tue, 27 March 2007 21:24:20 +, Pavel Machek wrote: > > From: Miklos Szeredi <[EMAIL PROTECTED]> > > > > 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: > > > >

Re: [patch] add file position info to proc

2007-03-27 Thread Pavel Machek
Hi! > From: Miklos Szeredi <[EMAIL PROTECTED]> > > 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

Re: [patch] add file position info to proc

2007-03-27 Thread Andrew Morton
On Tue, 27 Mar 2007 09:08:35 +0200 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > This patch adds support for finding out the current file position, > > > open flags and possibly other info in the future. > > > > fs/proc/base.c: In function 'proc_lookupfdinfo': > > fs/proc/base.c:1584: warning:

Re: [patch] add file position info to proc

2007-03-27 Thread Miklos Szeredi
> > This patch adds support for finding out the current file position, > > open flags and possibly other info in the future. > > fs/proc/base.c: In function 'proc_lookupfdinfo': > fs/proc/base.c:1584: warning: passing argument 3 of 'proc_lookupfd_common' > from incompatible pointer type >

Re: [patch] add file position info to proc

2007-03-27 Thread Miklos Szeredi
This patch adds support for finding out the current file position, open flags and possibly other info in the future. fs/proc/base.c: In function 'proc_lookupfdinfo': fs/proc/base.c:1584: warning: passing argument 3 of 'proc_lookupfd_common' from incompatible pointer type fs/proc/base.c:

Re: [patch] add file position info to proc

2007-03-27 Thread Andrew Morton
On Tue, 27 Mar 2007 09:08:35 +0200 Miklos Szeredi [EMAIL PROTECTED] wrote: This patch adds support for finding out the current file position, open flags and possibly other info in the future. fs/proc/base.c: In function 'proc_lookupfdinfo': fs/proc/base.c:1584: warning: passing

Re: [patch] add file position info to proc

2007-03-27 Thread Pavel Machek
Hi! From: Miklos Szeredi [EMAIL PROTECTED] 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

Re: [patch] add file position info to proc

2007-03-27 Thread Andrew Morton
On Tue, 27 Mar 2007 21:24:20 + Pavel Machek [EMAIL PROTECTED] wrote: Hi! From: Miklos Szeredi [EMAIL PROTECTED] 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:

Re: [patch] add file position info to proc

2007-03-27 Thread Jörn Engel
On Tue, 27 March 2007 21:24:20 +, Pavel Machek wrote: From: Miklos Szeredi [EMAIL PROTECTED] 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

Re: [patch] add file position info to proc

2007-03-27 Thread Miklos Szeredi
Hi! From: Miklos Szeredi [EMAIL PROTECTED] 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

Re: [patch] add file position info to proc

2007-03-27 Thread Dave Hansen
On Sun, 2007-03-25 at 15:45 -0800, Andrew Morton wrote: On Sat, 24 Mar 2007 23:04:09 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: 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:

Re: [patch] add file position info to proc

2007-03-27 Thread Pavel Machek
Hi! For each fd the information is provided in the following format: pos:1234 flags: 012 Octal? Maybe we should use more traditional hex here? It's octal in fcntl.h, so it's easier for a human to read. Good point. The O_foo flags are per-arch, so this

Re: [patch] add file position info to proc

2007-03-27 Thread Miklos Szeredi
For each fd the information is provided in the following format: pos: 1234 flags:012 Octal? Maybe we should use more traditional hex here? It's octal in fcntl.h, so it's easier for a human to read. Good point. The O_foo flags are per-arch, so

Re: [patch] add file position info to proc

2007-03-26 Thread Andrew Morton
On Sat, 24 Mar 2007 23:04:09 +0100 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > This patch adds support for finding out the current file position, > open flags and possibly other info in the future. fs/proc/base.c: In function 'proc_lookupfdinfo': fs/proc/base.c:1584: warning: passing argument 3

Re: [patch] add file position info to proc

2007-03-26 Thread Folkert van Heusden
> > 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: > >

Re: [patch] add file position info to proc

2007-03-26 Thread Folkert van Heusden
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

Re: [patch] add file position info to proc

2007-03-26 Thread Andrew Morton
On Sat, 24 Mar 2007 23:04:09 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: This patch adds support for finding out the current file position, open flags and possibly other info in the future. fs/proc/base.c: In function 'proc_lookupfdinfo': fs/proc/base.c:1584: warning: passing argument 3 of

Re: [patch] add file position info to proc

2007-03-25 Thread Neil Brown
On Sunday March 25, [EMAIL PROTECTED] wrote: > On Sat, 24 Mar 2007 23:04:09 +0100 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > 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: > > > >

Re: [patch] add file position info to proc

2007-03-25 Thread Andrew Morton
On Sat, 24 Mar 2007 23:04:09 +0100 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > 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 > >

Re: [patch] add file position info to proc

2007-03-25 Thread Andrew Morton
On Sat, 24 Mar 2007 23:04:09 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: 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

Re: [patch] add file position info to proc

2007-03-25 Thread Neil Brown
On Sunday March 25, [EMAIL PROTECTED] wrote: On Sat, 24 Mar 2007 23:04:09 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: 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:

[patch] add file position info to proc

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> 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

[patch] add file position info to proc

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] 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