Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2009 21:14:55 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.sbin/rwhod Makefile rwhod.c
Message-ID:  <200912272115.nBRLFIB5059344@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-12-27 21:14:55 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/rwhod       Makefile rwhod.c 
  Log:
  SVN rev 201060 on 2009-12-27 21:14:55Z by ed
  
  Let rwhod use libulog.
  
  I am not planning on providing a mechanism tot stat() the database files
  directly. The disadvantage of this, is that rwhod will now be a little
  bit more heavy than it used to be. It normally used to fstat() the file
  descriptor to see whether the file had changed, but this is now
  impossible to implement, meaning we have to parse the entire utmp file
  each 180 seconds.
  
  This is probably not an issue on modern 16-way servers, but if it turns
  out to be a problem, we'll think of something.
  
  Revision  Changes    Path
  1.8       +3 -0      src/usr.sbin/rwhod/Makefile
  1.24      +27 -62    src/usr.sbin/rwhod/rwhod.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912272115.nBRLFIB5059344>