lkml.org 
[lkml]   [2007]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [RFC PATCH 1/4] Union mount documentation.
    Date
    On Wed, 20 Jun 2007 13:32:23 +0100, Christoph Hellwig wrote:

    > On Wed, Jun 20, 2007 at 07:29:55AM +0000, Jan Blunck wrote:
    >> Mounting a file system twice is bad in the first place. This should be
    >> done by using bind mounts and bind a mounted file system into a union.
    >> After that the normal locking rules apply (and hopefully work ;).
    >
    > From the kernel POV mounting a filesystem twice is the same as doing
    > a bind mount.

    Somehow I thought about doing this:

    mount /dev/dasda1 /mnt/A
    mount /dev/dasda1 /mnt/B

    ... which doesn't result in a bind mount.

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

    \
     
     \ /
      Last update: 2007-06-20 14:55    [W:5.378 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site