From owner-freebsd-current Fri Jun 28 13:19:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C268B37B40B; Fri, 28 Jun 2002 13:18:21 -0700 (PDT) Received: from overcee.wemm.org (12-232-114-102.client.attbi.com [12.232.114.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id F370E43E12; Fri, 28 Jun 2002 13:18:19 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 5A84B390F; Fri, 28 Jun 2002 13:18:25 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Garance A Drosihn Cc: Robert Drehmel , current@FreeBSD.ORG, robert@FreeBSD.ORG Subject: Re: changing 'struct utmp' In-Reply-To: Date: Fri, 28 Jun 2002 13:18:25 -0700 From: Peter Wemm Message-Id: <20020628201825.5A84B390F@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Garance A Drosihn wrote: > At 12:21 PM -0400 6/28/02, Garance A Drosihn wrote: > >I think it's better to leave utmp as it is, and start work on a > >utmpx definition which is more standardized. Access to this > >new improved database should be through the endutxent, getutxent, > >getutxid, getutxline, pututxline, and setutxent routines. > > See > http://www.opengroup.org/onlinepubs/007904975/functions/getutxent.html > > >See also the standardized definition of utmpx.h. > > http://www.opengroup.org/onlinepubs/007904975/basedefs/utmpx.h.html Incidently, there's nothing here that requires there be a flat file backing this stuff with fixed size records. A .db file with a format descriptor could implement this API just fine. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message