lkml.org 
[lkml]   [2003]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Simple Procfs question: Triggering an "action" when opening a directory instead of a file (with seqfile.h)???
viro@parcelfarce.linux.theplanet.co.uk wrote:

>On Mon, Sep 29, 2003 at 01:40:03PM -0400, Jean-Guillaume wrote:
>
>
>>Hello everybody :)
>>
>>
>
>
>
>>I need some help on this one, I couldn't find anything on google or in
>>the archives of the mailing list. Here it goes:
>>
>>I want to trigger an action when "opening" a directory of the procfs.
>>This is easy for files, but how is it done for directories...???
>>
>>
>
>With a separate filesystem. Don't do that on procfs, it's messy enough as
>it is.
>
>

lol, ok then :)

I have indeed noticed some funny things with the procfs. Like, doing a
"ls" on my tipc dir said the directory was empty, but I could do a "vi
/proc/tipc/file" and see the content of file. Invisible file? :)


-
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:49    [W:0.153 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site