[lkml]   [2000]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: PROBLEM: multiple mount of devices possible 2.4.0-test1 - 2.4.0-test13-pre4
    In article <>,
    Alexander Viro <> writes:
    > On Sat, 30 Dec 2000, Ton Hospel wrote:
    >> It should still need a special flag or something, since it's
    >> impossible for userspace to check this atomically.
    > To check _what_? Having the same tree mounted in several places is
    > allowed. End of story. Atomicity of any kind is a non-issue - if you
    > have processes that do not cooperate and do random mounts you are
    > getting exactly what you are asking for.

    I wasn't talking about mounting the same device on different mount points.
    If you ask for that, it's good that you nowadays you can get that (though
    even there it might be a good idea to let the filesystem say if it can
    support that or not)

    I was talking about avoiding that the same device gets multiple mounted
    at the SAME place, e.g. when doing mount -a, which is often used as a
    quick way to get the new entries in /etc/fstab

    That would also be no problem if there were a standard about e.g. always
    flocking /etc/mtab. But as far as I know there isn't such a standard.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:17.797 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site