Subject: Re: utmp file format change
To: Simon J. Gerraty <sjg@crufty.net>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-userlevel
Date: 10/05/2001 10:26:16
On Sat, 22 Sep 2001, Simon J. Gerraty wrote:

: >A device node doing the translation is my best suggestion at this point, as
: >it doesn't have the problems of Solaris's "update daemon":  it catches
: >old-utmp accesses where they happen, and needs no "cleanup" procedure.
:
: Do you have an estimate on how much work this is?

Eh, you're basically looking at a small bit of device code that holds a
vnode to the new-utmp file, and has two small buffers exactly equal to the
size of an old-utmp entry and new-utmp entry.  It's just a matter of
translating records one at a time.

Granted, a real userlevel fs abstraction would be more desirable....

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/