From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 3 07:09:48 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13B66D77 for ; Sun, 3 Nov 2013 07:09:48 +0000 (UTC) (envelope-from bounces+73574-4a99-freebsd-hackers=freebsd.org@sendgrid.me) Received: from o3.shared.sendgrid.net (o3.shared.sendgrid.net [208.117.48.85]) by mx1.freebsd.org (Postfix) with SMTP id B6D2820A1 for ; Sun, 3 Nov 2013 07:09:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.info; h=from:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpapi; bh=iHmvlRWYgFMk50UlU/ZERXldrLc=; b=FNuKc0FUuje/3KuudO AtyW4gSaxtlDfGAy38xH1yhtkn+ZNypAIABFR1kUGiUtyWsuJBABi4FBp1Muahmt YbnOKHeLgFeIcj7gWV1y/oOhmYAgutrsbGIxxDtpvNtnWzRL8VLsD+WWGZOZshOE wM3tm/7J6D3O43rMR1nu7p9MQ= Received: by mf69 with SMTP id mf69.23501.5275F6B36 Sun, 03 Nov 2013 07:09:39 +0000 (GMT) Received: from mail.tarsnap.com (unknown [10.60.208.15]) by mi32 (SG) with ESMTP id 1421ccbad64.17bf.1a48ba for ; Sun, 03 Nov 2013 01:09:39 -0600 (CST) Received: (qmail 97874 invoked from network); 3 Nov 2013 07:09:38 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by ec2-107-20-205-189.compute-1.amazonaws.com with ESMTP; 3 Nov 2013 07:09:38 -0000 Received: (qmail 35241 invoked from network); 3 Nov 2013 07:08:06 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by clamshell.daemonology.net with SMTP; 3 Nov 2013 07:08:06 -0000 Message-ID: <5275F656.2090804@freebsd.org> Date: Sun, 03 Nov 2013 00:08:06 -0700 From: Colin Percival User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: dt71@gmx.com, freebsd-hackers@freebsd.org Subject: Re: Automated submission of kernel panic reports References: <526F8EB3.1040205@freebsd.org> <5271A465.2030206@gmx.com> <5275888E.6010806@freebsd.org> <52758BCD.1000307@gmx.com> <52758C1F.9080601@freebsd.org> <5275A3AD.2020501@gmx.com> In-Reply-To: <5275A3AD.2020501@gmx.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SG-EID: W2XBZA0V/n0voZZ6SjDkgjXvzGvkLIaljy40FLIRIHTVMXCc7ynl2WKQUz0qqp0cyuePT7KD/24H/Dl0Ji22OO3mGKO+KphuKCb7jBOxmXqVjnAmMHbDtRNw+LtH7RzSDnr2iaVgJQnYk7ErcKjjfWtjmJTUg+zwAKbjeI5PaEA= X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 07:09:48 -0000 On 11/02/13 18:15, dt71@gmx.com wrote: > Colin Percival wrote, On 11/03/2013 00:34: >> Let me know if you see anything I missed. > > Patch 1: mostly bikeshed stuff. > Patch 2: double quote stuff. Thanks. > I didn't know anything about dump number rotation. How does that work? By > default, upon the 11th dump, the bounds file will contain ``0'', but the last > dump will be stored at /var/crash/{info,vmcore}.9 ? Because in that case, the > ``bounds - 1'' method won't work. Aside from a 3 minute window on HEAD, the versions of savecore which can rotate back to using /var/crash/*.0 also create .last symlinks. So I'm not worried about that; if we don't have a .last symlink to rely on, bounds - 1 is good enough. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid