/proc/<pid>/root is a link for the root filesystem. This link helps when using chroot.
From: Arun M Kumar <arunkr.linux@xxxxxxxxx>
To: Kernel Newbies Mailing List <kernelnewbies@xxxxxxxxxxxxxxxxx>
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@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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies