Date: Wed, 2 May 2012 16:34:21 -0400 From: John Baldwin <jhb@freebsd.org> To: Doug Barton <dougb@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r234927 - in head: etc/rc.d sys/kern Message-ID: <201205021634.21898.jhb@freebsd.org> In-Reply-To: <4FA18A1B.30203@FreeBSD.org> References: <201205021425.q42EPdqw088857@svn.freebsd.org> <4FA18A1B.30203@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, May 02, 2012 3:25:15 pm Doug Barton wrote: > On 5/2/2012 7:25 AM, John Baldwin wrote: > > - Simplify accounting log rotation a bit. There is no need to re-run > > accton(8) after renaming the new log file to it's real name. > > Have you thoroughly tested this change? I remember adding that on > purpose, but I couldn't tell you for sure at this point exactly why. The reporter tested it. However, the kernel has no notion of the pathname once it has opened the file. It just holds a reference to the vnode directly, and the rename of the file will not invalidate that reference. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205021634.21898.jhb>