On Fri, 2008-08-15 at 14:59 +0100, David Woodhouse wrote: > On Fri, 2008-08-15 at 11:55 +0300, Artem Bityutskiy wrote: > > UBIFS (as e.g. XFS) has a 16-byte UUID in superblock which is > > supposed to uniquely identify the file-system. I'd like to use > > this UUID as NFS FSID instead, however, I failed to find how > > to do this. Any hints how could I do this? > > By adding a 'get_fsid()' method to the export_ops structure... > If the uuid can be found by libuuid, then it will automatically be used as the default identifier by rpc.mount (man 5 exports). There should be no need for a new export_ops method. Cheers Trond -- 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