From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752856AbcEIWxO (ORCPT ); Mon, 9 May 2016 18:53:14 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:58811 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751517AbcEIWxN (ORCPT ); Mon, 9 May 2016 18:53:13 -0400 X-Greylist: delayed 424 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 May 2016 18:53:13 EDT To: linux-kernel From: Phillip Susi Subject: mount --move and shared namespaces Message-ID: <5731132A.7040801@ubuntu.com> Date: Mon, 9 May 2016 18:46:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 It seems that mount --move does not work on a shared namespace ( now the default under systemd ), yet you can mount --bind and then umount the original, which seems to amount to exactly the same thing. Why is the direct move not allowed? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCgAGBQJXMRMqAAoJEBB5UWFcu6UWUqEH/1WHjvhn8aDKTkUHt+T8NR+z STybvyZgI/y8Du+O6ikeZ9AEX5aGhaSoz1xTdNbv3QX7NphRDYjO9CJDGhRpXzzt bVpG0+1DORR5w4/7LlhdqKgjt3UFgo5AFQj+S4NAO3G1vlSaXL33YYP+4YP3Vin7 0XKNCCGbEeEbasGTFNTc0mXPrS5GZBDEStJKfCxb6+SIaMDCoovHRNTY1J1RNudM 5fniCpxBewmY7EnMNJ2UOYvuT3gknNBZuzpvMQ6QhLLVi2R0oyrqxuckFgemv6Dw TMDXfH1e3nw2WtcywOKt8zsi6RAfLpikJ3+ZDJkmD9ObiCS1RM/RfkjgHYCXB3Y= =jb7W -----END PGP SIGNATURE-----