Displaying 3 results from an estimated 3 matches for "getminfssizeinbytes".
2015 Oct 14
2
Re: [PATCH] New API: resize2fs_P
...d.
I'm going to implement similar functionality for other filesystems
(ntfs, btrfs, xfs).
I think we should preserve original command's behavior (well-documented,
obviously!) and leave the conversion between blocks, megabytes, etc to user.
Maybe (later) we could implement aggregated call (getMinFsSizeInBytes())
to perform all this conversions.
--
Your sincerely,
Maxim Perevedentsev
2015 Oct 14
0
Re: [PATCH] New API: resize2fs_P
...f the API (which then have to do the
function choice at runtime on their own).
> I think we should preserve original command's behavior (well-documented,
> obviously!) and leave the conversion between blocks, megabytes, etc to user.
> Maybe (later) we could implement aggregated call (getMinFsSizeInBytes())
> to perform all this conversions.
Please note the API is there also to provide some coherency.
--
Pino Toscano
2015 Oct 13
4
[PATCH] New API: resize2fs_P
Added support for getting ext2/3/4 filesystem minimum size.
This is needed primarily for shrinking images.
---
daemon/ext2.c | 35 +++++++++++++++++++++++++++++++++++
generator/actions.ml | 10 ++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/daemon/ext2.c b/daemon/ext2.c
index ebaf0f0..3dae40f 100644
--- a/daemon/ext2.c
+++