Karel Zak wrote:
It's safe, but "mount -a" is going to call the btrfs ioctl or each "auto" fstab entry :-)
I am aware of it. Guessing what is more effective: search for all candidates in mountinfo and checking whether it is btrfs, or blindly issuing ioctl() that will: - quickly fail with EINVAL for non-btrfs - wil be needed for btrfs anyway -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx Lihovarská 1060/12 tel: +49 911 7405384547 190 00 Praha 9 fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76 -- 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