确定 btrfs 子卷是否为只读

Tom*_*ale 5 btrfs

如何判断btrfs子卷是只读还是读写?

Tom*_*ale 5

btrfs property将显示子卷的只读/读写状态:

btrfs property get -ts /path/to/subvolume
Run Code Online (Sandbox Code Playgroud)

这将给出:ro=truero=false