Re: Re: dentry cache

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

 



On Fri, 2006-03-03 at 10:35 +0700, Mulyadi Santosa wrote:
> HI Arjan...
> 
> > there IS no such thing!
> > Each process has it's OWN mount tree, including own "root
> > filesystem". It's called "namespaces". Sure, often they're shared.
> > But that's not a given.
> 
> I see...maybe Ashish referred to root filesystem in init's name space? 
> After all, init is the ancestor of all processes....so usually what we 
> refer as root file system is the root fs of init....

that's too simplistic though; again take vserver as example. They
basically have 2 independent "virtual" machines running, they do this by
giving each their own namespace. While you say that init is the ancestor
of all processes, that does NOT mean that all processes always share
init's namespace. Especially with per-user /tmp that will not be the
case. (See the CLONE_NEWNS flag)

> 
> > So read again:
> > THERE IS NO SUCH THING AS *THE* ROOT FILESYSTEM.
> 
> beg me pardon, if there is no such thing called root filesystem, then 
> what is the approriate term we must use to refer a partition that is 
> mounted on "/' inside init's namespace?

init sure. But are you interested in init or in other processes? Because
that is where it gets blurry ;)


> Mount point to be mounted in different place? or the partition to be 
> mounted in different place? or are you reffering to something like:
> mount --bind olddir newdir ?

you can do both. You can mount /dev/hda4 (for example) in different
places at the same time; but you can also bind mount parts in different
places etc etc.



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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