Re: UDisks: partition resize/move support

2011-11-08 Thread Karel Zak
On Tue, Nov 08, 2011 at 04:31:20PM +0200, Ivo Georgiev wrote: > In general, the problem of resizing file-systems and partitions is > something that, in Linux, has no unified solution, BTW, Lukas Czerner is working on unified command line interface: https://events.linuxfoundation.org/events/linux

Re: UDisks: partition resize/move support

2011-11-08 Thread Georg Grabler
Just take a practical example: a graphical partition manager (gparted, qtparted, any partition manager in any linux installation program etc.). There you need to implement the partitioning using parted, most likely done using the operation stack parted provides, need to know about partition flags,

Re: UDisks: partition resize/move support

2011-11-08 Thread Ivo Georgiev
I think a D-Bus interface is much easier to implement in a program that needs to handle anything partition related. Plus, it's all a unified interface - getting data about devices, partitions and/or modifying them. In general, the problem of resizing file-systems and partitions is something th

Re: UDisks: partition resize/move support

2011-11-08 Thread Ivo Georgiev
I think a D-Bus interface is much easier to implement in a program that needs to handle anything partition related. Plus, it's all a unified interface - getting data about devices, partitions and/or modifying them. In general, the problem of resizing file-systems and partitions is something th

Re: UDisks: partition resize/move support

2011-11-08 Thread walt
On 11/07/2011 11:56 AM, David Zeuthen wrote: > ... > The current code in master simply shells out to the parted(8), > sgdisk(8) and sfdisk(8) tools to do the heavy lifting. I expect the > implementation of Partition.Resize() to do something similar... Hi David. I'm very familiar with parted and