Significance of " /proc/<pid>/root"

Adel BENZARTI adelbenzarti at yahoo.fr
Sun Sep 15 15:28:37 EDT 2013



/proc/<pid>/root is a link for the root filesystem. This link helps when using chroot.


________________________________
 From: Arun M Kumar <arunkr.linux at gmail.com>
To: Kernel Newbies Mailing List <kernelnewbies at 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 


More information about the Kernelnewbies mailing list