[lkml]   [1999]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: loopback device semantics and UNIX mount(2) philosophy.
    On Tue, 19 Oct 1999, Chris Wedgwood wrote:
    > mount(8) can't easily tell there is a problem here. Ideally I guess
    > the kernels loopback driver should refuse to attach to a file that is
    > in use (in any way whatsoever, not just by another loopback device)

    As Rogier pointed out a minute ago, one would have to do something more
    complex than just usage counts. Because different loopback devices may
    have used different (non-overlapping?) regions of the file. One would have
    to do region management something like what is done with POSIX locks?

    Or, better even, don't do stupid things as root and there will be no
    unexpected results :)


    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 13:54    [W:0.021 / U:23.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site