* Behavior of 'mount --bind' and umount
@ 2013-12-27 17:18 Nicolas Dichtel
0 siblings, 0 replies; only message in thread
From: Nicolas Dichtel @ 2013-12-27 17:18 UTC (permalink / raw)
To: linux-fsdevel
Hi all,
I've a question about this command.
Let's take a simple test:
$ touch foo
$ echo foo > foo
$ touch bar
$ mount --bind foo bar
$ cat bar
foo
$ umount foo
On some files system/distribution/kernel, the last command returns an error
(on debian for example):
$ umount foo
umount: foo: not mounted
or unmount bar (on ubuntu for example):
$ umount foo
$ cat bar
$
I did not find the reason of this difference, any help is welcome.
Thank you,
Nicolas
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-12-27 17:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 17:18 Behavior of 'mount --bind' and umount Nicolas Dichtel
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).