tenox7 / disktrim Goto Github PK
View Code? Open in Web Editor NEWWindows application to send TRIM / UNMAP / DISCARD to SSD. Similar to blkdiscard.
License: Apache License 2.0
Windows application to send TRIM / UNMAP / DISCARD to SSD. Similar to blkdiscard.
License: Apache License 2.0
I encountered a problem. I'm sure the disk driver is working because I successfully sent the trim command using DiskGenius (but it couldn't trim the entire hard drive).
OS: Windows 11
The following is the console output
Number Friendly Name Serial Number HealthStatus OperationalStatus Total Size Partition
Style
------ ------------- ------------- ------------ ----------------- ---------- ----------
0 SAMSUNG MZ... 0025_38B4_11B0_15DB. Healthy Online 1.86 TB GPT
1 WDC WD10 S... 123622500220 Healthy Online 931.51 GB GPT
PS C:\Users\Calun> disktrim-x64.exe 1
DiskTrim v2.2 by Antoni Sawicki & Tomasz Nowak, Build Dec 31 2016 02:51:58
Disk: 1
Size: 931.5 GB
Type: WDC WD10 SPZX-00Z10T0
Trim: Supported
WARNING: Contents of your drive an all data will be permanently erased!
There is no possibility of data recovery even with 3rd party companies.
Do you want to erase this disk (y/N) ? y
All right...
Querying drive parameters...
ERROR: Error on DeviceIoControl IOCTL_SCSI_PASS_THROUGH
[0x0000045D] ?? I/O ??????????????
It appears that this program only deletes the partition table, and not the actual contents of the disk. I can still find data on the hard drive using a hex editor.
Before the Yes/No prompt, it displays the size of the disk drive (238.5GB for my ssd) correctly.
But after the Yes/No prompt, it displays this:
\\.\PhysicalDrive0 LBA: 0, Block: 0, Size: 0.0GB
It appears to be multiplying 0 by 0 to calculate a size of 0, and overwrites only that much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.