Skip to content
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

macOS Build? #94

Open
mbparker opened this issue May 17, 2023 · 1 comment
Open

macOS Build? #94

mbparker opened this issue May 17, 2023 · 1 comment

Comments

@mbparker
Copy link

Not a bug - just a question...

I'm presuming not, but is it possible to build and use this on macOS?

Use case: I need to send a SCSI INQUIRY command to old style (non-iOS) iPod devices on Windows, Linux, and macOS. I've got Windows and Linux covered. Finding hardly anything at all on how to do this on macOS.

@doug-gilbert
Copy link
Contributor

Most OSes have a SCSI (and now NVMe) pass-through at the upper level (inside the kernel). So there is only one of them and it will be present if the SCSI (ATA or NVME) subsystem is loaded in the kernel. IMO this is a reasonable target to program user space tools such as sg3_utils against. My understanding is that macOS doesn't have a SCSI pass-through at an "upper level". Instead it allows hardware specific drivers (what are called "low level drivers" (LLDs) in Linux) to implement their own pass-through.
While that might be of interest to hardware manufacturers making adapters to go in Apple equipment, to someone like me making user space tools that are trying to be OS, adapter and SCSI device agnostic, it is an unattractive proposition.
If the situation has changed, that is: macOS has added a generic SCSI pass-through, then I might reconsider.
Just checked smartmontools which has support for 'os_darwin' but inside os_darwin.cpp it says: "scsi devices are not supported [yet]" :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants