-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-p doesn't follow expecations... #29
Comments
Hi Dave 👋
Thanks a lot, this means something to me! The |
Thanks for responding @rolinh ! I see your point now... ZFS normalizes the block device name to match the zpool name, which is inherently chosen by a human, just as the mount path, so I completely missed how it had matched that in the FILESYSTEM column. That column contains what most would call the block "device" rather than the "filesystem" so that's where my confusion stemmed from reviewing the man page. To keep things working as expected for everyone who has integrated dfc into their workflows, perhaps a new switch like A new proof-of-space/time cryptocurrency has launched recently, requiring the management of filling up hard drives with large cryptographically generated files, and the dozens I've turned onto dfc (which is ideal for this situation) have all showered praise on it. Thanks again for this great work ! ❤️ |
This sounds like a good option to me! I'm unsure when I'll have time to work on it though. PRs always welcome ;) |
One would expect
dfc -p <filesystem>
to result in either exact string matching, or substring matching, but it seems it does half of both by doing substring matching but only on the first instance it encounters, which is unexpected:Ideally, it would be cool to get the substring search result of both device and mount path strings but if that's too complicated, matching only exact would be less confusing because it gives heart attack the way it's currently implemented ;)
[note: and if you do decide to implement full substring matching, number sort would be a nice cherry on top, but certainly not required 😀
Thanks for making such a wonderful console visual utility ! ⭐⭐⭐⭐⭐
-=dave
The text was updated successfully, but these errors were encountered: