[parted-devel] Feature requests
Gary L. Greene, Jr.
greeneg at phoenuxos.com
Tue Nov 21 16:23:44 CET 2006
On Tuesday 21 November 2006 09:57, Justin Gombos wrote:
> * 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?
>
Parted doesn't move any data, all it does is shrink to a certain margin from
the last allocated block. This is because there are no defrag utilities for
filesystems in Linux, let alone Fat8/12/16/32 or NTFS. As it is, the tools
that do that under their native OS' don't do such a great job of it
either....
--
Gary L. Greene, Jr.
Sent from: uriel.tolharadys.net
10:21:16 up 1 day, 17:42, 7 users, load average: 0.20, 0.59, 0.61
=========================================================================
Volunteer Developer for the PhoeNUX OS open source project
See http://www.phoenuxos.com/ for more information
=========================================================================
Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20061121/c7708634/attachment.pgp
More information about the parted-devel
mailing list