Re: [PATCH 6/7 v3] overlay: hybrid overlay filesystem prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 01, 2010 at 11:34:57AM +0200, Andreas Gruenbacher wrote:
> On Thursday 30 September 2010 23:51:15 Valerie Aurora wrote:
> > 
> > Hm, this was a pretty basic assumption for me - that you'd want to
> > construct a topmost image offline that would be "merged" with the
> > lower layers.  So, for example:
> > 
> > Topmost layer contains:
> > 
> > /etc/hostname
> > 
> > Lower layers contain everything else in /etc/.  So /etc/ would exist
> > on the topmost layer at the time of union mount, but we would want it
> > to be transparent.  But if we created a new dir *during* the union
> > mount, it would be opaque.
> > 
> > What was your model?
> 
> The prevalent use case probably is to start out with an empty topmost layer on 
> top of an existing file system.  When things are modified, changes obviously 
> go into the topmost layer.  Additional layers can later be stacked on top of 
> that, turning the previous topmost layer into a read-only lower layer.
> 
> Overlaying preexisting file systems doesn't seem that important; users 
> commonly should be able to start out with an empty topmost layer instead.  To 

Okay, that surprises me.  Let me check my assumptions.  I cc'd several
people who seem to be actively using unionfs or aufs in ways that we
want union mounts to replace.  Do you start out with an empty topmost
file system in most cases?  Or do you prepopulate with some files in
dirs you want to be transparent?

> also cover the less common cases, there should be a way to convert directories 
> in a union from opaque to transparent and back though, just like there should 
> be a way to get rid of a whiteout.

Conversion is a requirement, yes.

-VAL
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux