linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* finding about share flag
@ 2013-04-27  4:42 Kevin Wilson
  2013-04-28  7:55 ` Ram Pai
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Wilson @ 2013-04-27  4:42 UTC (permalink / raw)
  To: linux-fsdevel

Hi,

Is the only way to know whether mount had the "shared"  flag is
by cat /proc/self/mountinfo ?

I made some trials with cat /proc/mounts, cat /etc/mtab, and
running the "mount"  command. And in all of them I could not find a way
to see the "shared" flag,


Rgs,
Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: finding about share flag
  2013-04-27  4:42 finding about share flag Kevin Wilson
@ 2013-04-28  7:55 ` Ram Pai
  0 siblings, 0 replies; 2+ messages in thread
From: Ram Pai @ 2013-04-28  7:55 UTC (permalink / raw)
  To: Kevin Wilson; +Cc: linux-fsdevel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-28  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-27  4:42 finding about share flag Kevin Wilson
2013-04-28  7:55 ` Ram Pai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).