[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #50859] fstype btrfs isn't supported
From: |
Maxim Baz |
Subject: |
[bug #50859] fstype btrfs isn't supported |
Date: |
Mon, 20 Jul 2020 12:23:34 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #50859] fstype btrfs isn't supported,
Maxim Baz <=