From owner-freebsd-hackers Mon Jul 28 01:17:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA17460 for hackers-outgoing; Mon, 28 Jul 1997 01:17:03 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA17454 for ; Mon, 28 Jul 1997 01:17:00 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id RAA05659; Mon, 28 Jul 1997 17:46:08 +0930 (CST) From: Michael Smith Message-Id: <199707280816.RAA05659@genesis.atrad.adelaide.edu.au> Subject: Re: utmp/wtmp interface In-Reply-To: <199707222247.IAA00521@labs.usn.blaze.net.au> from David Nugent at "Jul 23, 97 08:47:07 am" To: davidn@labs.usn.blaze.net.au (David Nugent) Date: Mon, 28 Jul 1997 17:46:08 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk David Nugent stands accused of saying: > [wtmp] > > Actually, I would have suggested a textual format, but I thought that > > the screams would be audible from here. If you think it's a goer, you > > have my absolute support. > > Given the space savings, I can't see any reason for it NOT to be > text. All but a couple of the fields are text anyway. :) I recently > played with a 13mb wtmp which reduced down to 4.8mb when converted > to variable-length text (this was a 8-character username system too), > which should give you some idea of the potential savings. Eep. Pretty convincing. > This will make it harder for things like last(1) to page back > through the file from the end, but life is sometimes tough. Besides, > last(1) will use the API, which will handle this transparently in any > case, including the buffering. Yup. Sounds good. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[