Re: bind-mount vs second mount of the same blockdev?

From: Al Viro
Date: Wed Nov 03 2010 - 06:24:00 EST


On Wed, Nov 03, 2010 at 12:39:57PM +0300, Michael Tokarev wrote:
> mount -t ext3 /dev/block /mnt/a
> mount --bind /mnt/a /mnt/b
>
> versus
>
> mount -t ext3 /dev/block /mnt/a
> mount -t ext3 /dev/block /mnt/b

[snip]

> What are the differences in behavour?

None. Both lead to the identical states.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/