* Significance of " /proc/<pid>/root"
@ 2013-09-15 19:03 Arun M Kumar
2013-09-15 19:28 ` Adel BENZARTI
2013-09-17 2:40 ` Navkamal Rakra
0 siblings, 2 replies; 3+ messages in thread
From: Arun M Kumar @ 2013-09-15 19:03 UTC (permalink / raw)
To: kernelnewbies
What is the significance of the directory named root inside /proc/<pid> ?
ex:
----------------------------------------------------------------------------------
arunkumar at arun-ThinkPad-Edge-E530:/proc/2543/root$ ls
bin cdrom etc initrd.img lib media opt root
sbin srv tmp var vmlinuz.old
boot dev home initrd.img.old lost+found mnt proc run selinux
sys usr vmlinuz
----------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Significance of " /proc/<pid>/root"
2013-09-15 19:03 Significance of " /proc/<pid>/root" Arun M Kumar
@ 2013-09-15 19:28 ` Adel BENZARTI
2013-09-17 2:40 ` Navkamal Rakra
1 sibling, 0 replies; 3+ messages in thread
From: Adel BENZARTI @ 2013-09-15 19:28 UTC (permalink / raw)
To: kernelnewbies
/proc/<pid>/root is a link for the root filesystem. This link helps when using chroot.
________________________________
From: Arun M Kumar <arunkr.linux@gmail.com>
To: Kernel Newbies Mailing List <kernelnewbies@kernelnewbies.org>
Sent: Sunday, September 15, 2013 8:03 PM
Subject: Significance of " /proc/<pid>/root"
What is the significance of the directory named root inside /proc/<pid> ?
ex:
----------------------------------------------------------------------------------
arunkumar at arun-ThinkPad-Edge-E530:/proc/2543/root$ ls
bin? cdrom? etc? initrd.img? ? ? lib? ? ? ? media? opt? root
sbin? ? srv? tmp? var? ? ? vmlinuz.old
boot? dev? ? home? initrd.img.old? lost+found? mnt? ? proc? run selinux?
sys? usr? vmlinuz
----------------------------------------------------------------------------------
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130915/c7dc190a/attachment.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Significance of " /proc/<pid>/root"
2013-09-15 19:03 Significance of " /proc/<pid>/root" Arun M Kumar
2013-09-15 19:28 ` Adel BENZARTI
@ 2013-09-17 2:40 ` Navkamal Rakra
1 sibling, 0 replies; 3+ messages in thread
From: Navkamal Rakra @ 2013-09-17 2:40 UTC (permalink / raw)
To: kernelnewbies
On 09/16/2013 12:33 AM, Arun M Kumar wrote:
> What is the significance of the directory named root inside /proc/<pid> ?
>
> ex:
> ----------------------------------------------------------------------------------
> arunkumar at arun-ThinkPad-Edge-E530:/proc/2543/root$ ls
>
> bin cdrom etc initrd.img lib media opt root
> sbin srv tmp var vmlinuz.old
> boot dev home initrd.img.old lost+found mnt proc run selinux
> sys usr vmlinuz
> ----------------------------------------------------------------------------------
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
It keeps record of all data (system level) , resources and parameters
for that process . You can get more idea here :
https://www.kernel.org/doc/Documentation/filesystems/proc.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-17 2:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-15 19:03 Significance of " /proc/<pid>/root" Arun M Kumar
2013-09-15 19:28 ` Adel BENZARTI
2013-09-17 2:40 ` Navkamal Rakra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).