Re: cfdisk 2.25 doesn't write partition table when using localized version

Benno Schulenberg
2014-09-15T12:57:23Z

Hello Marcin,

On Mon, Sep 15, 2014, at 14:22, Marcin Kocur wrote:
> I'm using LANG=pl_PL.UTF-8, my cfdisk is translated into Polish. When
> trying to write the partition table, cfdisk tells me that the the
> partition table wasn't written, no matter if I type yes in English or
> "tak" in Polish.

It was a mistake in cfdisk and has been fixed in git:
https://github.com/karelzak/util-linux/commit/ce3134dfdd3a9feb614050cbf742cec4c97e984b
https://github.com/karelzak/util-linux/commit/59af21c3f294b9fdec62914568de0455cf884623

It should work correctly in util-linux-2.25.1.

> I have briefly checked the pl.po file and it seems to
> be fine. When I set export LANG=en_US, then I was able to save the
> partition table on the device.

Benno

--
http://www.fastmail.fm - A fast, anti-spam email service.