mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Boot sequence of /proc filesystem
@ 2005-03-09  5:13 sounak chakraborty
  0 siblings, 0 replies; only message in thread
From: sounak chakraborty @ 2005-03-09  5:13 UTC (permalink / raw)
  To: linux kernel

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-09  5:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-09  5:13 Boot sequence of /proc filesystem sounak chakraborty

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®