Follow-up Comment #3, bug #50859 (project findutils): Hello,
Today tools like "df" are able to display the file system type, but "find" isn't. At the same time, "find -fstype btrfs" doesn't seem to work for me even on btrfs root. Do you think it would be possible to cherry-pick how "df" does this and do the same in "find"? The workaround that Bernhard mentioned back in 2017 sounds like it could work as well. I would be happy to test and provide more information if necessary! $ df --output=fstype,target /mnt/btrfs-root / /etc /.snapshots Type Mounted on btrfs /mnt/btrfs-root btrfs / btrfs / btrfs /.snapshots $ findmnt -T /mnt/btrfs-root/ TARGET SOURCE FSTYPE OPTIONS /mnt/btrfs-root /dev/mapper/luks btrfs rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,subvolid=5,subvol=/ $ findmnt -T / TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/luks[/root] btrfs rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,subvolid=696,subvol=/root $ findmnt -T /etc TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/luks[/root] btrfs rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,subvolid=696,subvol=/root $ findmnt -T /.snapshots/ TARGET SOURCE FSTYPE OPTIONS /.snapshots /dev/mapper/luks[/snapshots] btrfs rw,noatime,nodiratime,compress=zstd:3,ssd,space_cache,subvolid=261,subvol=/snapshots $ find /mnt/btrfs-root / /etc /.snapshots -maxdepth 0 -printf '%F\n' unknown unknown unknown unknown -- Maxim Baz _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?50859> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/