User: Password:
|
|
Subscribe / Log in / New account

Shared subtrees

Shared subtrees

Posted Dec 1, 2005 11:34 UTC (Thu) by linuxram (subscriber, #22157)
In reply to: Shared subtrees by lacostej
Parent article: Shared subtrees

shared subtrees allows you to create identical mount trees at different locations. It does more than that, but in general it makes sure that the
subtrees remain identical even after a series of mount and unmounts, in any of the subtrees.

Chroot is a entirely different thing. It helps set a process up in a jail
Once in a jail the process wont be able to access anything outside the directory tree. Neither do any of its children.

But the combination of shared subtree and chroot togather have lot of applications. One example is mentioned in the article, where we can have a identical subtree for each user(thanks to shared subtree semantics). And each user can get jailed in its corresponding subtree (thanks to chroot).


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds