Bootable Linux USB stick: Difference between revisions

Line 166: Line 166:


=== fill empty space of a partition with “zeroes” ===
=== fill empty space of a partition with “zeroes” ===
This could be done after deleting large amounts of data from the USB stick, and before saving and compressing an image of it.  
This could be done after updating the software or data on the USB media, and before saving and compressing an image of it.  
USB sticks that support “Deterministic read data after TRIM” according to <code>hdparm -I /dev/sdX</code>, and microSD cards (which have zeroes in free space after <code>fstrim</code> in a SD slot) should be TRIMmed because this does not wear out the storage cells.
USB sticks that support “Deterministic read data after TRIM” according to <code>hdparm -I /dev/sdX</code>, and microSD cards (which have zeroes in free space after <code>fstrim</code> in a SD slot) should be TRIMmed because this does not wear out the storage cells.


1,330

edits