All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukas Ruf <ruf@tik.ee.ethz.ch>
To: Linux Kernel ml <linux-kernel@vger.kernel.org>
Subject: proc_mkdir -> where is proc_rmdir ?
Date: Sun, 9 Sep 2001 19:41:38 +0200	[thread overview]
Message-ID: <20010909194137.B1968@tik.ee.ethz.ch> (raw)

Dear all,

I created some directories below /proc while a module got installed.
When I de-install the module, I would like to remove these directories as
well?

First, I remove the entries within the directory by remove_proc_entry().
So, the directories are empty.  But when I try to remove the self-created
directories with a similar call to remove_proc_entry(), nothing happens.

So, I simply ask: is there somewhere a proc_rmdir() ?  If not, how do I
need to call the remove_proc_entry() such that the directory gets removed?

Thanks for any help!

Lukas

-- 
Lukas Ruf                        Swiss Federal Institute of Technology
Office: ETZ-G61.2                             Computer Engineering and
Phone: +41/1/632 7312                        Networks Laboratory (TIK)
Fax:   +41/1/632 1035                                      ETH Zentrum
PGP 2.6: ID D20BA2ED;                                    Gloriastr. 35
Fingerprint 6323 B9BC 9C8E 6563  B477 BADD FEA6 E6B7    CH-8092 Zurich

             reply	other threads:[~2001-09-09 17:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-09 17:41 Lukas Ruf [this message]
2001-09-09 19:31 ` proc_mkdir -> where is proc_rmdir ? Randy.Dunlap

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=20010909194137.B1968@tik.ee.ethz.ch \
    --to=ruf@tik.ee.ethz.ch \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.