*Mview chroot management

From Virtualsquare
Revision as of 19:34, 27 December 2012 by Renzo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

chroot is currently supported by *Mview (svn 397)

There are two different chroot supported by *Mview:

  • chroot of a real directory (not managed by any of the loaded modules) cause the kernel chroot to be invoked.

If the call succeeds (the user permissions to run chroot) *Mview takes into account the new root to provide modules with the correct global paths.

  • chroot of a virtual directory. No special permissions needed. *Mview properly transforms the virtual pathnames.

chroot does not affect open files or the current working directory.

There is a problem related to the getcwd call: All the cwd pathnames referring to the chroot-ed subtree are relative to the new root, all the remaining paths are absolute. This behavior although strange is the same used by the Linux Kernel.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox