[lkml]   [2010]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/5] hybrid union filesystem prototype

On Thursday 2010-09-02 15:32, Neil Brown wrote:
>> Oh and I what I like to see is support for multiple readonly branches :)
>I think we very nearly have that, assuming I understand your requirement
>The lower filesystem can itself be an overlay, providing it is mounted
>So if /mnt/ro1 /mnt/ro2 /mnt/ro3 are all read-only branches then
> mount -o ro,lowerdir=/mnt/ro1,upperdir=/mnt/ro2 meaninglessstring /mnt/ov1
> mount -o ro,lowerdir=/mnt/ov1,upperdir=/mnt/ro3 meaninglessstring /mnt/ov2
> mount -o lowerdir=/mnt/ov2,upperdir=/mnt/rw ignoreme /mnt/overlay
>and /mnt/overlay will be the combination of 3 read-only filesystems and one
>writable one.
>(this doesn't work with the code as-is, but it is really just a few bug-fixes

There ought to be a reason that other implementations offer
doing multiple branches with a single vfsmount.

 \ /
  Last update: 2010-09-02 16:29    [W:0.098 / U:2.612 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site