In message <20080124193416.379218079@xxxxxxxxxx>, Miklos Szeredi writes: > From: Miklos Szeredi <mszeredi@xxxxxxx> > > 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: <http://git.kernel.org/?p=linux/kernel/git/ezk/unionfs.git;a=blob;f=fs/unionfs/super.c;h=986c980261a5b171147d66ac05bf08423e2fd6b6;hb=HEAD#l963> 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-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html