dmitry pervushin <dpervus...@gmail.com> writes: > Honestly, I do not understand why getting volume id might be the > function of the mounted filesystem. I'd rather think about generic > function "filesystem id" of the block device.
I see. Yes, I have same question too. > But if we decided to implement getting volume id from the filesystem, > then getting it from the root of the filesystem (but not from any > subdirectory of it and even not from files) makes sense for me. Hm, finding the mount point and open fd (for only this) would be inconvenient, and need some costs. Especially, if user is using the bind mount. Thanks. -- OGAWA Hirofumi <hirof...@mail.parknet.co.jp> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/