LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-04-2013, 12:49 PM   #1
computergirl121
LQ Newbie
 
Registered: May 2013
Posts: 24

Rep: Reputation: Disabled
Smile Where does the file system proc get mounted during the boot process?


I am trying to figure out where the proc gets mounted during the boot process. Is it is the /proc?
 
Old 05-04-2013, 04:11 PM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Yes.
/proc ................
 
1 members found this post helpful.
Old 05-04-2013, 04:12 PM   #3
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,777

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
When the system first boots, it is running from the initrd, which is a small root filesystem in RAM. In that, there is a script named "init" that performs various functions, including the initial mounting of /proc.

The initramfs-*.img files in your /boot are compressed cpio archives of that initrd. If you want to examine the init script, you can extract it into your current directory like this:
Code:
gunzip -c /root/initramfs-$(uname -r).img | cpio -im init
 
1 members found this post helpful.
Old 05-04-2013, 05:01 PM   #4
computergirl121
LQ Newbie
 
Registered: May 2013
Posts: 24

Original Poster
Rep: Reputation: Disabled
LOL YIPPPEEEE!!!! I got something right I am learning
Thank you.
 
Old 05-04-2013, 05:05 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I've never tried it, but I suspect /proc could be mounted (almost) where-ever you want.
Stand by for all-round confusion to erupt ...

And, of course, initrd id is optional. It's unlikely the OP has a system without one, but possible.
 
Old 05-04-2013, 05:05 PM   #6
computergirl121
LQ Newbie
 
Registered: May 2013
Posts: 24

Original Poster
Rep: Reputation: Disabled
I will check out what you suggested rknichols. Thanks a lot
 
Old 05-04-2013, 06:39 PM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,777

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by syg00 View Post
I've never tried it, but I suspect /proc could be mounted (almost) where-ever you want.
And in fact, it does get mounted in other places, all simultaneously, wherever things that run in a chroot environment need access to /proc.

Quote:
And, of course, initrd id is optional. It's unlikely the OP has a system without one, but possible.
Since this is a Fedora-specific forum, I'd say that liklihood is vanishingly small.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] File system and mounted point information log during boot ethereal1m Slackware 3 07-26-2011 10:44 AM
Is it possible that java process without memory detail in proc file system geddysekar Linux - Kernel 1 05-17-2010 12:52 AM
Is it possible that java process without memory detail in proc file system geddysekar Linux - General 1 05-13-2010 08:55 AM
proc, dev and others not mounted on boot after HD changed auroraglacialis Linux - Kernel 2 08-06-2008 08:57 AM
Boot process dies during forced file system check mepaco Fedora - Installation 1 04-11-2006 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration