Date: Wed, 7 Jan 2009 15:11:42 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG, tom@samplonius.org, admin@stardothosting.com Subject: Re: ver 4.2 won't allow save because it can't see 2.2T disk drive Message-ID: <200901071411.n07EBg8l045592@lurza.secnetix.de> In-Reply-To: <17218792.31231294718710.JavaMail.root@ly.sdf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tom Samplonius wrote: > Anyways, it doesn't really matter what "df" reports. If df is > folding some of the 64bit values in negative numbers, it is no > issue really. It depends on the application of the OP. If it queries the free space on the device before writing data to it, then the negative numbers might indeed be a problem. If the application forks df(1), a very simple work-around would be to install a small wrapper script that prints some values that the application is happy with. However, if the application calls getfsstat(2), it will be more difficult to work around. By the way, the fields in the statfs structure were changed from 32bit signed values to 64bit unsigned values between FreeBSD 5.1 and 5.2. So, in order to solve the problem, the OP would have to update at least to FreeBSD 5.2. (Don't get me wrong; I do not recommend to install 5.2; it's five years old and not supported anymore. If you update, I'd recommend to go for the latest release, which is 7.1 right now.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" -- Tom Cargil, C++ Journal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901071411.n07EBg8l045592>