Messages in this thread | | | Date | Fri, 21 Nov 2008 11:12:09 +0100 | From | Karel Zak <> | Subject | Re: [PATCH] loop file resizable |
| |
On Thu, Nov 20, 2008 at 01:26:54PM -0800, Andrew Morton wrote: > Well if we're going to do this then I guess we'll need to tell the > util-linux people about it, as users will be needing some tool with > which to access the new fucntionality. > > Presumably that would be some enhancement to losetup, or perhaps a new > tool. Could the util-linux people please have a think about this and > comment?
It shouldn't be a problem to extend the current losetup(8). I have no problem with this change.
> Also, I'm not sure that the user interface is terribly good. The user > must extend the file size and then we tell the loop driver to use all > of the new file size. it would be better (more flexible) to allow > userspace to explicitly pass in the new size for the loop device. > > But I'm not sure that this is worth bothering about.
I think the interface is useful and kernel side is pretty simple.
Karel
-- Karel Zak <kzak@redhat.com>
| |