[parted-devel] Feature requests

Justin Gombos mindfuq at sbcglobal.net
Tue Nov 21 15:57:00 CET 2006


* leslie.polzer at gmx.net <leslie.polzer at gmx.net> [2006-11-21 08:43]:
> On Mon, Nov 20, 2006 at 01:21:11PM -0700, Justin Gombos wrote:
> 
> > Would there be a hacker approach, like somehow making the
> > partition table readonly before executing outsourced code? Or
> > perhaps copying the partition table, and then restoring it after
> > the outsourced code operates on it?
>
> You're trying to find solutions to the wrong problem :)
> Shifting data around on a file system is a non-trivial operation,
> and the external tools do not offer this usually.

When parted shrinks a partition, something must be compacting the data
to the front of the partition.  Or are you saying that parted only
shrinks the partition to the last allocated block without rearranging,
preserving any unused space before it?



---
BTW folks, when replying to me publicly, please honor the
mail-followup-to header and don't send me an extra copy.  Thank you.



More information about the parted-devel mailing list