Here’s a workaround if the df command takes too long to run.

This limits listing to local file systems only.

df -l