[PATCH 05/13] overlayfs-add-statfs-support

2013-03-12 Thread Miklos Szeredi
From: Andy Whitcroft Add support for statfs to the overlayfs filesystem. As the upper layer is the target of all write operations assume that the space in that filesystem is the space in the overlayfs. There will be some inaccuracy as overwriting a file will copy it up and consume space we were

[PATCH 05/13] overlayfs: add statfs support

2012-09-20 Thread Miklos Szeredi
From: Andy Whitcroft Add support for statfs to the overlayfs filesystem. As the upper layer is the target of all write operations assume that the space in that filesystem is the space in the overlayfs. There will be some inaccuracy as overwriting a file will copy it up and consume space we were

Re: [PATCH 05/13] overlayfs: add statfs support

2012-08-31 Thread J. R. Okajima
Ben Hutchings: > If I'm not mistaken, glibc uses it to implement pathconf(_PC_NAME_MAX), > which may be used by applications in conjunction with readdir_r(). I agree pathconf(3) depends upon the filesystem type. I've posted about the _PC_LINK_MAX and statfs(2). See my past post and its thread in

Re: [PATCH 05/13] overlayfs: add statfs support

2012-08-29 Thread Ben Hutchings
On Thu, 2012-08-30 at 00:48 +0200, Miklos Szeredi wrote: > Ben Hutchings writes: > > > On Wed, Aug 15, 2012 at 05:48:12PM +0200, Miklos Szeredi wrote: > >> From: Andy Whitcroft > >> > >> Add support for statfs to the overlayfs filesystem. As the upper layer > >> is the target of all write oper

Re: [PATCH 05/13] overlayfs: add statfs support

2012-08-29 Thread Miklos Szeredi
Ben Hutchings writes: > On Wed, Aug 15, 2012 at 05:48:12PM +0200, Miklos Szeredi wrote: >> From: Andy Whitcroft >> >> Add support for statfs to the overlayfs filesystem. As the upper layer >> is the target of all write operations assume that the space in that >> filesystem is the space in the

Re: [PATCH 05/13] overlayfs: add statfs support

2012-08-17 Thread Ben Hutchings
On Wed, Aug 15, 2012 at 05:48:12PM +0200, Miklos Szeredi wrote: > From: Andy Whitcroft > > Add support for statfs to the overlayfs filesystem. As the upper layer > is the target of all write operations assume that the space in that > filesystem is the space in the overlayfs. There will be some

[PATCH 05/13] overlayfs: add statfs support

2012-08-15 Thread Miklos Szeredi
From: Andy Whitcroft Add support for statfs to the overlayfs filesystem. As the upper layer is the target of all write operations assume that the space in that filesystem is the space in the overlayfs. There will be some inaccuracy as overwriting a file will copy it up and consume space we were