-
Notifications
You must be signed in to change notification settings - Fork 48
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
Report disk model under FreeBSD #52
Comments
Hi! Thank you. Why is there sys/fcntl.h included? Maybe it is better to use QFile, which is already included in |
To get
Isn't QFile mainly for reading and writing files, while here we open device node to call |
Oh right, I read the code wrong. I'll create a commit. |
Thanks! I forgot to mention that |
I couldn't check, is it okay now? |
Yup, it's fine, thanks! |
I've added your program to FreeBSD ports and had to patch it a bit so it reports disk model correctly; would be nice if you could merge the patch, it's rather small and simple. Of course, I've forgotten to
close(fd)
before returning from the function. :-(The text was updated successfully, but these errors were encountered: