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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





/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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux