Bootable Linux USB stick: Difference between revisions

Jump to navigation Jump to search
Line 139: Line 139:
The workaround I found is to use the <code>wiper.sh</code> script which is part of the <code>hdparm</code> package. For me, this works beautifully, as verified with the [https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking test_trim.sh] script. Use it on your own risk!
The workaround I found is to use the <code>wiper.sh</code> script which is part of the <code>hdparm</code> package. For me, this works beautifully, as verified with the [https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking test_trim.sh] script. Use it on your own risk!


For initializing the whole stick or a specific partition, <code>blkdiscard</code> may work - I have not yet checked it. I do believe that <code>hdparm</code>'s (ENHANCED) SECURITY ERASE should work - again, I have not yet tried it.
For initializing the whole stick or a specific partition, [http://unix.stackexchange.com/questions/97143/utility-to-trim-unallocated-space-on-drive <code>blkdiscard</code>] may work - I have not yet checked it. I do believe that <code>hdparm</code>'s (ENHANCED) SECURITY ERASE should work - again, I have not yet tried it.
1,330

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu