Thanks Jeff.

I had already embarked on using the wonders of debugfs, and now have lots
of details 8-)

- Marc

On Mon, 20 Nov 2000, Jeff Dike wrote:

> I think you'll be able to access through /proc/<pid>/fd.  Below, I created 
> ~/foo (from a kernel Makefile), ran more on it to get it open, deleted it, and 
> looked at it through the /proc entry of more.
> 
>                               Jeff
> 
> % ps uax|grep more
> jdike     1752  0.0  0.3  1108  416 pts/4    S    10:08   0:00 more ~/foo
> % cd /proc/1752/fd
> % ls -al
> total 0
> [snip]
> lr-x------   1 jdike    jdike          64 Nov 20 10:08 3 -> /home/dike/foo
> % rm ~/foo
> % ls -al
> [snip]
> lr-x------   1 jdike    jdike          64 Nov 20 10:08 3 -> /home/dike/foo 
> (deleted)
> 
> % more 3
> VERSION = 2
> PATCHLEVEL = 4
> SUBLEVEL = 0
> EXTRAVERSION = -test11
> ...
> 
> 
> 


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to