imsnif / diskonaut

Terminal disk space navigator 🔭
MIT License
2.47k stars 65 forks source link

Feature: option to stay within the same filesystem #23

Open jansegre opened 4 years ago

jansegre commented 4 years ago

Like du's -x option: File system mount points are not traversed.. This would be useful for scanning / and ignoring external drives.

Byron commented 4 years ago

Here is an example on how dua does it and how this knowledge is used to filter entries.

Maybe this helps to get the functionality faster.

On a side-note, there is also examples about how to not double-count hardlinks.

imsnif commented 4 years ago

That's something I must admit I did not consider, and it is a very good point. I think adding it as a command line flag (-x in order to mirror du's functionality sounds good) would be a great feature.

skuzzymiglet commented 3 years ago

@imsnif just checking, would it be worth my time giving this a shot?

imsnif commented 3 years ago

Hey @skuzzymiglet - my apologies but I don't have a whole lot of time for diskonaut these days. I hope to get back here and do some upkeeping in the near future, but I can't promise when. So I wouldn't want you to waste your time :/