這幾天真的想超多…想超遠,想著自己還有很多未完成的事
想著要怎麼交待自己的後事
我還想著如果醫生真的宣布我中獎… 我不知道會不會腳軟
誰又會在我身邊 一起聽這個壞消息? 她又會是什麼反應?
電視的職棒,床上的老伴在睡
我喜歡這個時刻: 明明有人陪,有吵雜的電視,但還可以偷到與自己相處的小時光
買了 dyson,買了濾水壺 ,希望能讓身旁的人健康,盡自己一點心力
start and count and the SSD device in place of /dev/sda. It has the advantage of being fast and not writing zeros on the drive. Rather, it simply sends TRIM commands to the SSD controller letting it know that you don't care about the data in those blocks and it can freely assume they are unused in its garbage collection algorithm.--please-destroy-my-drive argument tohdparm (I haven't added this to the command line to prevent accidental data loss caused by copy and paste.)/dev/sda should be replaced with the SSD device you want to send TRIM commands to. start is the address of the first block (sector) to TRIM, and count is the number of blocks to mark as free from that starting address. You can pass multiple ranges to the command. # fdisk -lu /dev/sda
Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
...
--please-destroy-my-drive): # i=0; while [ $i -lt 250069680 ]; do echo $i:40000; i=$(((i+40000))); done \
| hdparm --trim-sector-ranges-stdin /dev/sda
hexedit /dev/sda before and after and verify that the drive has discarded the data.