On 24 June 2016 at 10:27, Karel Zak <kzak@xxxxxxxxxx> wrote: > On Mon, Jun 20, 2016 at 09:40:34PM +0100, Sami Kerola wrote: >> Newer 'struct utmp' is using 'struct timeval' to represent login and logout >> times, so include the maximum accuracy to textual utmp format. Notice that >> this change does not remove support of converting earlier textual formats >> back to binary. But conversions from binary to former format will no longer >> be available. > > It would be also nice to document that utmpdump is able to read > textual utmp format generated by the current utmpdump version only and > that we don't maintain any backward compatibility for the textual > output. > > The only binary version of the utmp is standardized. Fair point. How about something like https://github.com/kerolasa/lelux-utiliteetit/commit/3d47107de5d04fe2803827d3e24c227a18d1a4b0 -- Sami Kerola http://www.iki.fi/kerolasa/ -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html