Naraeon SSD Tools internals – 7. Get diagnostic information(SMART) from SATA devices

Necessity I think this part doesn’t need any further explanation about necessity. Because this part is the reason of existence of disk management tool. With this, we can manage devices’ status, and catches subtle failures that can be easily ignored by users, to prevent big failure. S.M.A.R.T: Self-Monitoring, Analysis, and Reporting Technology As the name […]

Naraeon SSD Tools internals – 6. Identify SATA devices

Necessity Last time, I introduced ATAPI command standard, ACS-3. I said about some definitions and introduced how we can issue a command to SATA devices. In this time, we would see implementation to issue identify device command in Naraeon SSD Tools. Identify (Identify device) In fourth, I said about Identify command like this. BIOS and device […]

Naraeon SSD Tools internals – 5. Introduction to SATA commands

Necessity Though NVMe devices are now widely spread, SATA devices are majority. Most of the SSDs connected with PC using SATA interface, and definitely HDDs do. To get information about them, knowledge about their language, ACS(ATA Command Set) is mandatory. Naraeon SSD Tools implemented based on SATA, and results from other devices converted to SATA […]

Naraeon SSD Tools internals – 4. Command set and Interpreting buffer

Necessity I think reason for visiting my blog is in this. Function that includes all features other than Read, Write, Open, Close, ioctl. Called DeviceIoControl in winapi. In undergraduate course, there would be only introduction about this function. I also firstly had no idea about where to find information to use ioctls. So I would write about […]

Naraeon SSD Tools internals – 3. Physical drive abstraction

Necessity Physical drives have various features. From these features, TPhysicalDrive abstracts some of them those are needed to Naraeon SSD Tools. Internally, the object just passes the request to right object. There are objects process these requests. Firstly, there is an object that issue adequate command to the bus directly(ATA, SCSI, NVMe, …).  And there is […]

Naraeon SSD Tools internals – 2. Objects pointing path

Necessity Naraeon SSD Tools has various objects those need path. From TPhysicalDrive as the name shows, a lot of Getter objects need the destination drive path. Other than that, some objects require path of a partition. In those cases, it is reasonable to memorize the path and use many times. Someone would think this is […]

Naraeon SSD Tools internals – 1. How to get PhysicalDrive list

Foreword In this series, I would write about internals of Naraeon SSD Tools. So people who implements some subset of this would get some help. This series includes things I asked about. If you have further questions, feel free to email me. But I would not get request about translating code snippet from Delphi to […]

Windows 10 NVMe Commands

Finally, from Windows 10, NVM Express Admin Command passthrough interface has arrived. Windows 10 provides two IOCTLs, IOCTL_STORAGE_QUERY_PROPERTY and IOCTL_STORAGE_PROTOCOL_COMMAND. Then you would think that second one would be one-size-fits-all IOCTL, but it’s not. That one can only be used for “Vendor specific” command. Therefore, only three commands in known commands can be used. If […]

Less bothering way to use Let’s encrypt certificate on Shared Hosting

After writing last article, I found a way to semi-automate it. Required Shared hosting, that provides git, and php with at least version 5.6 (If yours doesn’t provide git, you need to directly access github page and download in zip format.) CPanel access to your hosting Procedure Access to your server with ssh. Clone acme-client […]