[Parted-maintainers] Bug#284134: parted: ext3 recognized as xfs

Sven Luther Sven Luther <sven.luther@wanadoo.fr>, 284134@bugs.debian.org
Sat, 4 Dec 2004 14:14:40 +0100


On Sat, Dec 04, 2004 at 02:01:14PM +0100, Martin Lohmeier wrote:
> Quoting Sven Luther <sven.luther@wanadoo.fr>:
> 
> > I suppose that the xfs signature is still present on the partition, and
> > that
> > thus parted recognize it since it checks xfs before ext3 partitions. Not
> > sure
> > what we can do about this though.
> 
> So this is likelt a problem with mkfs.ext3? Should it delete other
> signatures on the partition?

Possibly yes, i would say you do a dd if=/dev/zero of=/dev/hdax, but as you
know this would destroy the partition fully and you would loose the data on
it. Now, maybe you could look at the libparted/fs_xfs/xfs.c or whatever code,
at the probe function more particularly, and destroy the individual bits of
the partition which mark the xfs signature, and you should be able to make it
work well.

Friendly,

Sven Luther