Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754777AbYAYA1W (ORCPT ); Thu, 24 Jan 2008 19:27:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751571AbYAYA1L (ORCPT ); Thu, 24 Jan 2008 19:27:11 -0500 Received: from filer.fsl.cs.sunysb.edu ([130.245.126.2]:53458 "EHLO filer.fsl.cs.sunysb.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751312AbYAYA1J (ORCPT ); Thu, 24 Jan 2008 19:27:09 -0500 Date: Thu, 24 Jan 2008 19:24:48 -0500 Message-Id: <200801250024.m0P0OmXX011168@agora.fsl.cs.sunysb.edu> From: Erez Zadok To: Miklos Szeredi Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Steve French , Lachlan McIlroy , "Josef 'Jeff' Sipek" , Russell King , Roman Zippel , David Howells , Ian Kent , "Sergey S. Kostyliov" , Karsten Keil , "H. Peter Anvin" , "Theodore Ts'o" , OGAWA Hirofumi , Jeff Dike , Mikulas Patocka , William Irwin , Dave Kleikamp , Petr Vandrovec , Trond Myklebust , Jeff Mahoney , Paul Mackerras , Hugh Dickins , Cyrill Gorcunov , Greg Kroah-Hartman Subject: Re: [patch 01/26] mount options: add documentation In-reply-to: Your message of "Thu, 24 Jan 2008 20:33:42 +0100." <20080124193416.379218079@szeredi.hu> X-MailKey: Erez_Zadok Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2146 Lines: 59 In message <20080124193416.379218079@szeredi.hu>, Miklos Szeredi writes: > From: Miklos Szeredi > > This series addresses the problem of showing mount options in > /proc/mounts. > > Several filesystems which use mount options, have not implemented a > .show_options superblock operation. Several others have implemented > this callback, but have not kept it fully up to date with the parsed > options. [...] > The following filesystems still need fixing: CIFS, NFS, XFS, Unionfs, > Reiser4. For CIFS, NFS and XFS I wasn't able to understand how some > of the options are used. The last two are not yet in mainline, so I > leave fixing those to their respective maintainers out of pure > laziness. > > Table displaying status of all in-kernel filesystems: > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > legend: > > none - fs has options, but doesn't define ->show_options() > some - fs defines ->show_options(), but some only options are shown > most - fs defines ->show_options(), and shows most of them > good - fs shows all options > noopt - fs does not have options > patch - a patch will be posted [...] > in -mm: > > reiser4 some > unionfs none Hi Miklos, Where did you check for the existence of a ->show_options method for unionfs? Unionfs does implement ->show_options and supports all of the mount/remount options. See: The unionfs ->remount code supports branch-management options which can add/del/change a branch, but we don't show those directly in ->show_options; it makes more sense to show the final (and thus most current) branch configuration. Could you update your records please? BTW, I should be able to use your save_mount_options(). Cheers, Erez. -- 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/