Automatically detect trimable file systems