public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean-Guillaume <jean-guillaume.paradis@ericsson.ca>
To: viro@parcelfarce.linux.theplanet.co.uk
Cc: linux-kernel@vger.kernel.org
Subject: Re: Simple Procfs question: Triggering an "action" when opening a directory instead of a file (with seqfile.h)???
Date: Mon, 29 Sep 2003 14:40:01 -0400	[thread overview]
Message-ID: <3F787C81.8060506@ericsson.ca> (raw)
In-Reply-To: <20030929180310.GO7665@parcelfarce.linux.theplanet.co.uk>

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? :)



  reply	other threads:[~2003-09-29 18:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-29 17:40 Simple Procfs question: Triggering an "action" when opening a directory instead of a file (with seqfile.h)??? Jean-Guillaume
2003-09-29 18:03 ` viro
2003-09-29 18:40   ` Jean-Guillaume [this message]
2003-10-09 15:27 ` ProcFs: FORCING remove_proc_entry even if the directory is used (busy) ?? Jean-Guillaume

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F787C81.8060506@ericsson.ca \
    --to=jean-guillaume.paradis@ericsson.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@parcelfarce.linux.theplanet.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox