lkml.org 
[lkml]   [2013]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 8/9] overlay: overlay filesystem documentation
From
On Thu, Mar 14, 2013 at 12:06 AM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Wed, 13 Mar 2013 15:16:32 +0100 Miklos Szeredi <miklos@szeredi.hu> wrote:
>
>> From: Neil Brown <neilb@suse.de>
>>
>> Document the overlay filesystem.
>>
>
> Damn, I did it again. This is good, thanks.
>
>> +Changes to the underlying filesystems while part of a mounted overlay
>> +filesystem are not allowed. If the underlying filesystem is changed,
>> +the behavior of the overlay is undefined, though it will not result in
>> +a crash or deadlock.
>
> ah-hah, there it is. I was wondering how this can-o-worms would be
> handled ;)
>
> Is there anything in place to enforce this at runtime? Checks for
> read-onlyness, code to prevent rw remounts, etc?

No, currently it is not enforced. I didn't think this was important
enough, and there was no complaint about this from users. I think
most people are going to be careful, especially if lots of warnings
are given in the documentation.

Thanks,
Miklos


\
 
 \ /
  Last update: 2013-03-14 15:01    [W:0.277 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site