On 11/29/2011 10:27 AM, Petr Uzel wrote:
The idea is to have resize command, which moves only the end of the
partition. If it is expanding, it is considered safe operation. With
shrinking, we should at least warn that it is unsafe and could destroy
the data.

That is exactly what I was thinking.  I'm also implementing a variant of the 
BLKPG ioctl to allow such a resize to take place on a currently mounted 
partition.  I'll see what I can do with these patches.


Reply via email to