On 2019-01-21 12:28:40 +0100, Vincent Lefevre wrote: > On 2019-01-21 11:20:52 +0100, Marc Haber wrote: > > What do you think, would it be an acceptable workaround to move the > > current day file away in postinst and document that fact? > > Are the old files still readable by the new atop?
Since there is a new program atopconvert, I suppose that they are not. > If not, another (better?) possibility is to ask the user if he > wishes to convert these old files to the new format. After thinking more about it, I think that the choice should be given between: 1. Move the atop_* files under /var/log/atop to /var/log/atop.old (to be created if it doesn't exist yet). 2. Convert these files to the new format with atopconvert. 3. Both (just in case there would be a bug in atopconvert). -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

