Hi Karel, > What's wrong with > strcmp(mnt_fs_get_fstype(fs, "btrfs")) > why we need FS specific function exported by API? I'm sorry I mixed two things. I thought that it could be useful for the others (with btrfs_get_default_subvol_id()) as IMHO there is no btrfs C library atm [1]. Please forget on that, I'll post just v2 with just second patch. Kind regards, Petr [1] https://btrfs.wiki.kernel.org/index.php/Project_ideas#Provide_a_library_covering_.27btrfs.27_functionality -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html