On 07/18/2011 09:16 PM, Papp Tamas wrote: > On 2011-07-18 15:14, Serge E. Hallyn wrote: >> It should be possible, but you have to set it up in advance. You can >> create a /lxcshare directory on the host, make sure it is slave >> (mount --make-rslave /lxcshare) and bind-mount that into the container >> at startup. Then mounting a directory into /lxcshare should expose it >> to the container. >> > helo! > > Thank you for you answer, Serge:) > > I'm not sure I correctly unserstand this part of manual, but I'm sure, > this is not exactly I want. > I wanted (and also want to do it in the future) to mount a directory as > 'adhoc', without restarting the container. > > Nevermind, thank you,
It is not possible as it is in a separate namespace. You will have to wait for the mount's setns syscall and the lxc-attach command for that. ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users