lkml.org 
[lkml]   [2011]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 6/6] overlay: overlay filesystem documentation
    Date

    Hello Miklos,

    Miklos Szeredi:
    > +The lower filesystem can be any filesystem supported by Linux and does
    > +not need to be writable. The lower filesystem can even be another
    > +overlayfs. ...

    When user mounts overlayfs over and over like this,
    # mount -t overlayfs -o upper=/rw1,lower=/ro1 none /ovl1
    # mount -t overlayfs -o upper=/rw2,lower=/ovl1 none /ovl2
    :::
    # mount -t overlayfs -o upper=/rwN,lower=/ovl{N-1} none /ovlN

    And if he modify a file in the bottom RO layer, then overlayfs copies-up
    the file into each RW layer?
    - 'fileA' exists in only /ro1.
    - nested mounts.
    - run "echo append >> /ovlN/fileA"
    - is fileA copied-up to /rw1, and then to /rw2, and then ... to /rwN?

    If user specify a single dir as every upper laery, then the copyup will
    be done only once, or such RW layers are not allowed?


    J. R. Okajima


    \
     
     \ /
      Last update: 2011-04-19 05:09    [W:2.222 / U:0.500 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site