Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756727Ab0FYSpK (ORCPT ); Fri, 25 Jun 2010 14:45:10 -0400 Received: from [18.85.46.34] ([18.85.46.34]:60012 "EHLO bombadil.infradead.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751103Ab0FYSpI (ORCPT ); Fri, 25 Jun 2010 14:45:08 -0400 Date: Fri, 25 Jun 2010 14:45:04 -0400 From: Christoph Hellwig To: Ulrich Drepper Cc: Andreas Dilger , Nick Piggin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro , Ulrich Drepper , Linus Torvalds Subject: Re: [rfc] new stat*fs-like syscall? Message-ID: <20100625184504.GA11867@infradead.org> References: <20100624131455.GA10441@laptop> <20100625040156.GQ10441@laptop> <1A529206-98C4-4A88-A2CA-18522D4D631D@dilger.ca> <20100625181638.GA15227@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100625181638.GA15227@infradead.org> User-Agent: Mutt/1.5.20 (2009-08-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1101 Lines: 22 On Fri, Jun 25, 2010 at 02:16:38PM -0400, Christoph Hellwig wrote: > 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. In addition ST_APPEND and ST_IMMUTABLE are rather puzzling. Do you really want these to mean if the file we call statfs on have the immutable/append only bits set? That is mixing two bits of stat information into statfs? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/