-
Notifications
You must be signed in to change notification settings - Fork 5
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
[patch] automatic device finding on Mac and Linux #27
Comments
my bad, I had read the code too quickly. Patch fixed. Here's the output on a decmpfs (HFS) compressed file mounted under linux (where its size shows up as 0 because all content is in the resource fork):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
hfsinspect
will find the device a file is on automatically only on BSD. The author seems to have missed the fact that Apple's Darwin is a BSD variant, and indeed the code works just fine there (on 10.9 at least). Fortunately, because for me the manual specification didn't work.Linux doesn't have a single syscall that returns the required information, but one can parse the output from
df -h
.Here's a patch (corrected):
The text was updated successfully, but these errors were encountered: