lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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>


\
 
 \ /
  Last update: 2008-11-21 11:15    [W:0.091 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site