From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1b3fe87cf5edd5de4fb773acd0a96244@vitanuova.com> To: 9fans@cse.psu.edu From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] unmount Date: Mon, 24 Feb 2003 19:51:42 +0000 Topicbox-Message-UUID: 70cf8e94-eacb-11e9-9e20-41e7f4b1d025 while we're on the subject of namespaces, it would be lovely to be able to temporarily put something in the namespace, and then take it away, without forking the namespace (i.e. undo an arbitrary mount or bind request). i don't know how, though. perhaps one could give every mount a unique id (visible in /proc/$pid/ns, and perhaps as a return from mount) that could then be named in an unmount request. perhaps /proc/$pid/mnt could enumerate all the "mounted from" points in the current name space: % bind -v -b '#|' /tmp 543464 % unmount /proc/$pid/mnt/543464 /dev just a thought.