[parted-devel] [ PATCH ] extended attributes support on ext2 and ext3 filesystem

Karel Zak kzak at redhat.com
Fri Apr 10 12:43:49 UTC 2009


On Fri, Apr 10, 2009 at 11:04:30AM +0200, Joel Granados wrote:
> With this patch I would like to put something on the table :)  We have
> had discussions as to the relevance of file system support in parted.
> The argument that parted is just to edit partitions has been thrown
> around a log and has its merit. I am for stripping parted from all 
> its file system code with exception for the bare essentials.  That is,

 I strongly agree. The current libparted is excellent example of
 over-engineering.

 We need lightweight simple to use fdisk-like library. That's all.
 
> stuff that detects file systems and stuff that tells us the state of the
> file system when we are resizing (Can't think of anymore).

 use libblkid from util-linux-ng (2.15-rc1).

> My reasoning for this is that the file system tools do a much better job
> at handling file system related stuff like creation, clean removal,
> resizing (especially resizing), handling of special cases...  Also, it
> seems overkill to repeat file system code.

 s/overkill/dangerous insane overkill/ ;-)

    Karel

-- 
 Karel Zak  <kzak at redhat.com>



More information about the parted-devel mailing list