Hi!
> > What I got:
> >
> > mount("/proc/15413/ns/net", "netnstest", 0x410848, MS_MGC_VAL|MS_BIND,
> > NULL) = -1 ENOTDIR (Not a directory)
>
> Right, "netnstest" already needs to exist as a *file*, not a directory
> and the second argument needs to be without a trailing '/' (which it
> is). Then it works for me. The posted C snippets are meant to fit in
> the example setup I posted earlier (just acting in place of unshare or
> nsenter).
My bad I wasn't reading the instruction carefully enough and did mkdir
instead of touch. Now it works fine for me.
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list