From owner-freebsd-current@FreeBSD.ORG Wed Nov 12 10:55:11 2003 Return-Path: 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 9FEEF16A4CE; Wed, 12 Nov 2003 10:55:11 -0800 (PST) Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05D4D43F93; Wed, 12 Nov 2003 10:55:11 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.12.8/8.12.3) with ESMTP id hACItAaG006605; Wed, 12 Nov 2003 10:55:10 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200311121855.hACItAaG006605@beastie.mckusick.com> To: freebsd-current@freebsd.org X-URL: http://WWW.McKusick.COM/ Date: Wed, 12 Nov 2003 10:55:10 -0800 From: Kirk McKusick Subject: HEADS-UP new statfs structure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kirk McKusick List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 18:55:11 -0000 The statfs structure was updated on Nov 11th with 64-bit fields to allow accurate reporting of multi-terabyte filesystem sizes. You should build and boot a new kernel BEFORE doing a `make world' as the new kernel will know about binaries using the old statfs structure, but an old kernel will not know about the new system calls that support the new statfs structure. Running an old kernel after a `make world' will cause programs such as `df' that do a statfs system call to fail with a bad system call. Kirk McKusick