From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 18 16:12:07 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B0CF5DA for ; Fri, 18 Apr 2014 16:12:07 +0000 (UTC) Received: from sunner.semmy.ru (sunner.semmy.ru [IPv6:2a00:14d0:0:20::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECB0711DE for ; Fri, 18 Apr 2014 16:12:06 +0000 (UTC) Received: from 95.108.170.111-red.dhcp.yndx.net ([95.108.170.111]) by sunner.semmy.ru with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WbBOU-0009kq-3c for hackers@freebsd.org; Fri, 18 Apr 2014 20:12:02 +0400 Message-ID: <53514ED2.2060904@semmy.ru> Date: Fri, 18 Apr 2014 20:12:02 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: hackers@freebsd.org Subject: statfs(2) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 18 Apr 2014 16:35:29 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2014 16:12:07 -0000 Hi. Tell me please, why f_bfree is unsigned and f_bavail is signed? struct statfs { ... uint64_t f_bfree; /* free blocks in filesystem */ int64_t f_bavail; /* free blocks avail to non-superuser */ ...