From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ram Pai Subject: Re: finding about share flag Date: Sun, 28 Apr 2013 15:55:54 +0800 Message-ID: <20130428075554.GA2705@ram.oc3035372033.ibm.com> References: Reply-To: Ram Pai Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: Kevin Wilson Return-path: Received: from e34.co.us.ibm.com ([32.97.110.152]:50008 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527Ab3D1H4F (ORCPT ); Sun, 28 Apr 2013 03:56:05 -0400 Received: from /spool/local by e34.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 28 Apr 2013 01:56:04 -0600 Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 217371FF001C for ; Sun, 28 Apr 2013 01:50:57 -0600 (MDT) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r3S7u0nq130590 for ; Sun, 28 Apr 2013 01:56:00 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r3S7twaB002887 for ; Sun, 28 Apr 2013 01:55:58 -0600 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Apr 27, 2013 at 07:42:25AM +0300, Kevin Wilson wrote: > Hi, > > Is the only way to know whether mount had the "shared" flag is > by cat /proc/self/mountinfo ? yes. AFAIK, only /proc/self/mountinfo was extended to capture the propagation attributes {shared, slave, private, unbindable} of a mount. RP