diskonaut icon indicating copy to clipboard operation
diskonaut copied to clipboard

Feature: option to stay within the same filesystem

Open jansegre opened this issue 5 years ago • 5 comments

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

jansegre avatar Jun 17 '20 19:06 jansegre

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.

Byron avatar Jun 17 '20 22:06 Byron

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.

imsnif avatar Jun 18 '20 09:06 imsnif

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

skuzzymiglet avatar May 26 '21 20:05 skuzzymiglet

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 :/

imsnif avatar May 27 '21 17:05 imsnif