Re: Private namespaces

Florin Iucha (florin@iucha.net)
Sat, 19 Apr 2003 09:52:39 -0500


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-16424-1050764052-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 16, 2003 at 03:23:24PM +0200, Andries Brouwer wrote:
> On Mon, May 05, 2003 at 10:23:56AM -0300, Adrian Etchevarne wrote:
>=20
> > I've been looking for instructions to use private namespaces in Linux,
> > without results. Can anyone tell where is the documentation about it?
> > (I'm not refering to chroot(), but to /proc/<pid>/mounts). Or the proper
> > files in the kernel sources?
>=20
> A tiny demo program is given in
> http://www.win.tue.nl/~aeb/linux/lk/lk-6.html#ss6.3.3
>=20
> In the kernel source, grep for CLONE_NEWNS.

I have compiled the sample program on 2.5.67-pre6 and it fails with
clone: Cannot allocate memory
when run as a regular user. Is there a workaround?

Thank you,
florin

--=20

"NT is to UNIX what a doughnut is to a particle accelerator."

--=_courier-16424-1050764052-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+oWK3NLPgdTuQ3+QRAlgpAJsG7LEJFh4mTiYrAN44shJEVHLyRgCgnBqw
H32Z62eF4AnR+cyykcJo1Mw=
=lJA1
-----END PGP SIGNATURE-----

--=_courier-16424-1050764052-0001-2--