EndPointCorp / end-point-blog

End Point Dev blog
https://www.endpointdev.com/blog/
17 stars 65 forks source link

Comments for Linux unshare -m for per-process private filesystem mount points #547

Open phinjensen opened 7 years ago

phinjensen commented 7 years ago

Comments for https://www.endpointdev.com/blog/2012/01/linux-unshare-m-for-per-process-private/ By Jon Jensen

To enter a comment:

  1. Log in to GitHub
  2. Leave a comment on this issue.
phinjensen commented 7 years ago
original author: Anonymous
date: 2012-12-20T16:31:18-05:00

Is there a FreeBSD version of this system call? It seems useful but it would be a darn shame if I had to use Linux to use it.

phinjensen commented 7 years ago
original author: Jon Jensen
date: 2012-12-20T16:50:29-05:00

I don't know, but would love to hear if you find out!

phinjensen commented 7 years ago
original author: Alexey Lesovsky
date: 2013-09-27T03:00:01-04:00

How I can find hidden mountpoint, and umount it?

Of course, I can walk every /proc/$pid/mountinfo and diff it with /proc/mounts )) But may have an easier way?

phinjensen commented 7 years ago
original author: Jon Jensen
date: 2013-09-27T05:11:59-04:00

Alexey, that's a good question. I don't know. Even if you can find the private mounts, I think you would have to kill the process that controls the private mount unless you can get that process to run the unmount code for you (in a shell or similar). Just guessing.