trapexit / mergerfs-tools

Optional tools to help manage data in a mergerfs pool
ISC License
372 stars 42 forks source link

Can you list which filesystem is used by a file? #138

Closed danielkrajnik closed 1 year ago

danielkrajnik commented 1 year ago

I'm wondering if there is a tool that can be added to ls -l (or a run separately) that would add filesystem origin column to each file:

merge:
fs1 file1
fs1 file2
fs2 file3
fs2 file4

where merge is made of two dirs:

*fs1/
**file1
**file2

*fs2/
**file3
**file4