From: sounak chakraborty <sounakrin@yahoo.co.in>
To: linux kernel <linux-kernel@vger.kernel.org>
Subject: Boot sequence of /proc filesystem
Date: Wed, 9 Mar 2005 05:13:35 +0000 (GMT) [thread overview]
Message-ID: <20050309051335.21714.qmail@web53307.mail.yahoo.com> (raw)
Hi,
I am writing some piece of code in the
linux kernel 2.6.8 , in the files
linux-2.6.8/kernel/fork.c ( in function do_fork() )
and linux-2.6.8/kernel/exit.c ( in the function
do_exit() ).
My objective is to execute the code immediately
after the kernel has mounted the /proc filesystem.
This is because i am creating new subdirectories in
the /proc fs.
What is the checking condition i should place
inside the kernel so that i can verify that the /proc
fs has been mounted during booting and now my code can
be executed by the kernel.
Is there any global variable that gets turned on
when the /proc fs is mounted during booting.
Also my code should continue executing until the
/proc fs has been unmounted during shutdown process.
It would really help me if you can suggest a
wayout.
Thanks in advance.
Sounak
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
reply other threads:[~2005-03-09 5:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050309051335.21714.qmail@web53307.mail.yahoo.com \
--to=sounakrin@yahoo.co.in \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®