Chris Ball wrote:
Hi, > Mmm.. btrfs appears to configure itself as a "pseudo" filesystem, > which is why it returns fake device numbers via stat(), similar > to procfs or sysfs. Probably because a single btrfs filesystem can be composed of multiple devices; one major/minor would not be sufficient.
.. So I'm seeing in the code. But for the 99% common case (personal computers, one drive), it would be rather useful it it would comply with filesystem standards there. In the unlikely event that a btrfs actually is composed of multiple devices, then in that case perhaps return something nonsensical. Mmm.. don't we already *have* an LVM layer in Linux? Seems like a rather bad idea to have a new Linux-specific filesystem re-implement it's own private LVM, and thus confuse various disk management tools and the like. Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
