[parted-devel] parted reporting old file system names
Phillip Susi
psusi at ubuntu.com
Fri Dec 14 16:12:38 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/12/2012 6:58 PM, Mike Fleetwood wrote:
> Hi,
>
> I've been doing some testing of wiping file systems, either using
> the wipefs command or by writing zeros over the whole partition,
> and find that in many distribution / parted version combinations it
> prints the type of the file system that use to be there, even after
> formatting with a new file system. I'm doing this for a GParted
> patch I am working on. Can anybody explain the behaviour and how to
> fix it?
Mike, can you try commenting out the if (!_have_kern26()) test before
_flush_cache (dev), in libparted/arch/linux.c and see if that fixes it?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQEcBAEBAgAGBQJQy0/2AAoJEJrBOlT6nu75F64H/0s+sPe44dQd+5zCb56HNhLD
ZnetdWbxoMNf40lPZO45hkZEOXKFPUjhftRDeNs+OnAAU9UutU30kNm5vwIS8fRA
aSm2f/lBCsvkXkukN9e5xbFBVXoaCad/H1IqBuGjP+SmfPYRPVdqg9zxB+80Z0pj
kDUVcz/K4AvdZM08TlGd+6zxXFvk6cgPlzCmHiZlgNDOOkeZ/c5mLIOvTDsIvAQy
qU5PJ3UImZAW4YRnNpf5zlyH00+zaAbjoTnoiYhC1TEd7cPxCqtpNIOVxzNSB4JU
imfBkLnfteX/HBoCxo8c4v4MqXvEhaR4pxYgeRkVmuP+Eekmzc1jhnbToa+t6pY=
=HWeG
-----END PGP SIGNATURE-----
More information about the parted-devel
mailing list