[lkml]   [1999]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Local loopback mounts (RFD)
    Alexander Viro wrote:
    : > I think the Linux dentry mechanism can allow us to have
    : > loopback mounts faster and more effective than NFS mount from Note
    : Yes, but the way you have proposed is broken.
    : > The loopfs_read_super() just creates the root dentry and points
    : > its dentry->d_inode to the inode of the target directory. This has the
    : > advantage that both /some/directory and /another/directory works with
    : > same inodes, so file locks works properly, open(O_EXCL) works properly, etc.
    : ... and one can trivially create loops in on-disk structure that way
    : (think of nasty games with rename()). We do need a way to compute the
    : foo-is-ancestor-of-bar relation.
    Well, if I do it using mount(2) and a new FS type, only root can do
    it. And root is able to break the system anyway.


    \ Jan "Yenya" Kasprzak <kas at>
    \\ PGP: finger kas at 0D99A7FB206605D7 8B35FCDE05B18A5E //
    \\\ Czech Linux Homepage: ///
    |||| > Where do the -- MARK --s come from ? ||||
    |||| It is the sound of Tux the penguin chewing on your system logs. ||||

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