lkml.org 
[lkml]   [2004]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] Filesystem with multiple mount-points
    On Sun, May 02, 2004 at 06:18:20PM +0200, Guennadi Liakhovetski wrote:
    > See "not nice" above. With the proposed option I would like to avoid
    > having one file appear at multiple paths. IOW each file would appear in no
    > more than 1 place in the tree.

    <shrug>

    mount <whatever> /tmp/blah
    mount --bind /tmp/blah/relative_path /desired_mountpoint
    umount -l /tmp/blah

    and you've got an exact equivalent of your "mount a subtree".
    -
    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: 2005-03-22 14:02    [W:0.023 / U:30.276 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site