Bootable Linux USB stick: Difference between revisions

Line 149: Line 149:
=== fill empty space of a partition with “zeroes” ===
=== fill empty space of a partition with “zeroes” ===
This could be done after updating the software or data on the USB media, 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 rather be TRIMmed because this does not wear out the storage cells.


Other media: as root
Other media: as root
1,330

edits