From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [rfc] new stat*fs-like syscall? Date: Fri, 25 Jun 2010 14:16:38 -0400 Message-ID: <20100625181638.GA15227@infradead.org> References: <20100624131455.GA10441@laptop> <20100625040156.GQ10441@laptop> <1A529206-98C4-4A88-A2CA-18522D4D631D@dilger.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andreas Dilger , Nick Piggin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro , Ulrich Drepper , Linus Torvalds To: Ulrich Drepper Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Jun 25, 2010 at 10:52:05AM -0700, Ulrich Drepper wrote: > there are not that many flags which are portable and available on all > the platforms. Look at /usr/include/bits/statvfs.h for what has to be > supported and the values to use. If the values the kernel will use > differ I'd have to (unnecessarily) convert the values. If some values > are missing/not supported I still would have to use /proc/mounts and > nothing is gained. I don't quite get what ST_WRITE is supposed to mean. All but that one can be supported trivially.