Re: [PATCH 2/2] add f_flags to struct statfs(64)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 26, 2010 at 10:55:47PM +1000, Neil Brown wrote:
>  while we are adding flags to statfs, I wonder if it might be possible to do
>  something to make f_fsid more useful - particularly for nfs-utils.

f_fsid really isn't suitable for that.  Even filesystems that had UUIDs
since the dawn of days don't always store it there, e.g. XFS.  I wish
people had left it with that, but the recent rush to stupidly overload
it with an uuid light and using it in nfs-tools didn't help.

Having an API to expose a UUID to userspace would be useful, but f_fsid
isn't it.  If we'll have to add real statvfs syscalls we can add an
f_uuid field, but I'd rather not use up the reamining space in the
statfs structure for that.

--
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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux