I would like to emulate a virtual SED at driver level. The goal is to develop/simulate the "firmware" of a drive, and map driver interface commands to an app which would handle interface specific commands. The driver interface may be one of SCSI, ATA, NVME.

Any hint how to create such an ATA/SCSI/... device, and how to map accesses to a userland app (such as nbd, but at device interface level)?

  • The source code of SATA kernel driver sounds like the natural starting point. That's where I would look. – ajeh Jun 28 '18 at 17:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.