utmp/utmpx conversion tool
ed at 80386.nl
Thu Jan 14 21:07:30 UTC 2010
I'm sending this back to the lists, because I think it is an interesting
* Andrzej Tobola <ato at iem.pw.edu.pl> wrote:
> If I need to preserve datbases - do You have any tool to convert
> /var/run/utmp, /var/log/lastlog and /var/log/wtmp to the new format ?
I see little use in converting utmp and lastlog to the new format. The
utmp file normally shouldn't survive a reboot, while the data provided
by lastlog is just `value added'.
I can imagine people do want to be able to convert their wtmp files.
This is why I just committed a tool called wtmpcvt(1) (also mentioned in
UPDATING now). This tool allows you to convert the log files to the new
format and view them using last(1) and ac(8).
There is no procedure to do this automatically. I also don't want to do
this, because if things go wrong, I don't want to be responsible for
corrupting everyone's log files.
Ed Schouten <ed at 80386.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100114/5d449d57/attachment.pgp
More information about the freebsd-current