<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7480&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Flash drive weirdness]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7480</link>
		<description><![CDATA[The most recent posts in Flash drive weirdness.]]></description>
		<lastBuildDate>Sat, 01 Nov 2025 11:40:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58909#p58909</link>
			<description><![CDATA[<div class="quotebox"><cite>greenjeans wrote:</cite><blockquote><div><p>I have purchased 3-packs of Emtec 32 gb drives, found them on sale in a wally-world kiosk a few years back for 10 bucks, cheap enough to be worth trying, and they&#039;ve been flawless...</p></div></blockquote></div><p>Thanks for the tip. I&#039;ll probably buy a pack to see how they compare, performance-wise, to the Micro Center flash drives.</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Sat, 01 Nov 2025 11:40:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58909#p58909</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58858#p58858</link>
			<description><![CDATA[<p>The last couple of times i&#039;ve needed usb sticks I have purchased 3-packs of Emtec 32 gb drives, found them on sale in a wally-world kiosk a few years back for 10 bucks, cheap enough to be worth trying, and they&#039;ve been flawless, bought another pack a few months ago off ebay I think for 12 bucks or so. Sometimes cheap stuff works.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Thu, 30 Oct 2025 15:40:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58858#p58858</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58852#p58852</link>
			<description><![CDATA[<p>Thanks for all the suggestions. Since I was able to return the Lexar drives for a full refund, I decided to do that instead of spending any more time on them. Frankly, if filling the flash drive using <span class="bbc">f3write</span> was enough to kill it (if that&#039;s what did it), then that drive isn&#039;t trustworthy enough to use for any important purpose. Based on my experience, and the fact that there are multiple reviews stating that the purchaser received a drive that was DOA, or died after a relatively short period of time, I no longer trust this brand. I will probably be replacing these with a pack of USB flash drives from <span class="bbu">Micro Center</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Thu, 30 Oct 2025 04:10:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58852#p58852</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58840#p58840</link>
			<description><![CDATA[<p>Doing something like <span class="bbc">dd if=/dev/zero of=/dev/sdb</span> I would (starting without it plugged in):</p><div class="codebox"><pre><code>lsblk
# Plug in the flash drive
lsblk
# Look for a device that has just appeared
sudo dd if=/dev/zero of=/dev/sdb </code></pre></div><p>Make SURE of=/dev/sdb points to the new device *before* pressing enter!</p><p>I&#039;ve been burnt enough times to check, recheck and triple check dangerous commands.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Wed, 29 Oct 2025 17:14:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58840#p58840</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58835#p58835</link>
			<description><![CDATA[<p>Just some hints:</p><div class="codebox"><pre><code>sudo wipefs --all /dev/sdb </code></pre></div><p>only wipes all signatures on that disk.</p><p>to wipe a disk completely:</p><div class="codebox"><pre><code>dd if=/dev/zero of=/dev/sdb</code></pre></div><p>as root user! And be pretty sure what you do, any targeted disk will be written to, so know that your device is /dev/sdb. You may check with lsblk</p><p>Then, when you use a tool like cfdisk or sfdisk or any fdisk, you are going to partition a disk. You then want to install a filesystem on a partition, not the whole disk!<br />Example:</p><div class="codebox"><pre><code>sudo mkfs.vfat /dev/sdb1</code></pre></div><p>sudo mkfs.vfat /dev/sdbn (n=your new partition number, i.e. /dev/sdb1)</p><p>You can format a complete device without any partition on it like /dev/sdb for special uses. This reminds us of olden times when we used floppy disks.</p><p>Man pages are there to help!</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 29 Oct 2025 09:16:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58835#p58835</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58826#p58826</link>
			<description><![CDATA[<div class="quotebox"><cite>Duke Nukem wrote:</cite><blockquote><div><p>Couldn&#039;t you just wipe the whole thing and re-format it?</p></div></blockquote></div><p>I tried doing that. I wiped the drive using the command <span class="bbc">wipefs --all /dev/sdb</span> and created a new partition using <span class="bbc">cfdisk</span> (and later <span class="bbc">sfdisk</span>). I then attempted to format the partition using <span class="bbc">mkfs.vfat /dev/sdb</span>, and that failed (multiple times). These drives are going back to Amazon.</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Tue, 28 Oct 2025 19:14:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58826#p58826</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58823#p58823</link>
			<description><![CDATA[<p>A Linux equivalent for SD Card Formatter is the <strong>blkdiscard</strong> command, but it&#039;s quite risky to use - can only be used in &#039;forced&#039; mode&#160; due to a bug and probably won&#039;t work at all if using a usb card reader instead of an integrated one.</p><div class="quotebox"><blockquote><div><p>Use blkdiscard</p><p>In short:</p><p>blkdiscard /dev/mmcblk0</p><p>Discussion</p><p>To quickly erase an entire SD card, you can use the blkdiscard(8) command. This calls the Linux BLKDISCARD ioctl, which in turn passes CMD38, the same as SD Memory Card Formatter.</p><p>Interesting options</p><p>&#160; &#160; -s, --secure securely discard blocks. As has been pointed out elsewhere, a normal CMD38 will make some blocks appear empty, but leave others plainly visible due to garbage collection. Use -s if you wish to be a little more secure and force garbage collected blocks to also be erased.</p><p>&#160; &#160; -z, --zero zero-fill blocks rather than discard.</p><p>Does not work over USB</p><p>Note that while this works on my laptop and Raspberry Pi, it would not work on a USB SD card reader. The difference is that kernel needs to have access to the low-level MMC subsystem, which USB abstracts away as a generic &quot;mass storage&quot; device. [I believe Microsoft Windows has the same limitation, but please correct me in the comments if I&#039;m wrong.]</p><p>If you do not have a device that can speak directly to the low-level SD card, it is possible to build one out of an Arduino and run SDFormatter.ino.</p><p>Extraordinarily dangerous!</p><p>Since blkdiscard must be run as root, it can easily destroy all of your data. You better be sure that you are pointing it at the right device and then double-check again. Use lsblk and df.</p><p>The manpage claims that, to be safe, it will only work if the drive isn&#039;t already mounted. That would be a nice safety feature, but it is not true as of this writing. The current implementation requires the -f, --force option if the drive is already formatted, which is (almost) always going to be the case since SD cards come pre-formatted. Unfortunately, using --force means that all checks, including if the drive is in use, are disabled.</p><p>Hopefully someday Linux will allow blkdiscard to be run on removable devices without requiring root privileges which would make it much less dangerous.</p><p>Other uses</p><p>Besides quickly wiping out data for privacy, supposedly blkdiscard, similar to fstrim for an SSD, will improve wear-leveling and make some SD cards generally run a little bit faster.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (Calamity)]]></author>
			<pubDate>Tue, 28 Oct 2025 16:22:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58823#p58823</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58812#p58812</link>
			<description><![CDATA[<p>you could try this rpgrogream</p><p><a href="https://www.sdcard.org/downloads/formatter/" rel="nofollow">https://www.sdcard.org/downloads/formatter/</a></p><p>it is bit tricky to funciton on linux</p><p><a href="https://www.sdcard.org/downloads/sd-memory-card-formatter-for-linux/" rel="nofollow">https://www.sdcard.org/downloads/sd-mem … for-linux/</a></p><p>( manual)<br /><a href="https://www.sdcard.org/pdf/SD-Card-Formatter-Linux-User-Manual-EN-v1.04.pdf" rel="nofollow">https://www.sdcard.org/pdf/SD-Card-Form … -v1.04.pdf</a></p>]]></description>
			<author><![CDATA[dummy@example.com (kapqa)]]></author>
			<pubDate>Tue, 28 Oct 2025 13:30:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58812#p58812</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58808#p58808</link>
			<description><![CDATA[<p>Couldn&#039;t you just wipe the whole thing and re-format it? Or are there some special data blocks at the start of flash drives and SD cards etc?</p>]]></description>
			<author><![CDATA[dummy@example.com (Duke Nukem)]]></author>
			<pubDate>Tue, 28 Oct 2025 10:54:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58808#p58808</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58785#p58785</link>
			<description><![CDATA[<p>definitely return them</p>]]></description>
			<author><![CDATA[dummy@example.com (stargate-sg1-cheyenne-mtn)]]></author>
			<pubDate>Sun, 26 Oct 2025 14:04:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58785#p58785</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58768#p58768</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Look at the whole device in hexedit to see if there&#039;s any code at the beginning.</p></div></blockquote></div><p>I did that last night. Fortunately, I didn&#039;t see anything suspicious. Mostly just lots of zeroes.</p><div class="quotebox"><cite>pcalvert wrote:</cite><blockquote><div><p>By the way, the Lexar drive came in a pack of three, and one of the three is clearly defective (much slower than the other two).</p></div></blockquote></div><p>The slower Lexar JumpDrive definitely seems flaky. This morning I ran <span class="bbc">fdisk -l /dev/sdb</span> to give it a quick look and got &quot;Permission denied&quot;. So I tried again as root and it still didn&#039;t work. Then I tried <span class="bbc">sudo wipefs --all /dev/sdb</span>, and that got things working again. Even so, this doesn&#039;t seem like a good sign. I have strong suspicion that this drive is going to be unreliable or end up dying early. I still have time (a few days) to return the drives for replacement or a refund, so maybe I should go ahead and do that.</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Sat, 25 Oct 2025 13:39:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58768#p58768</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58744#p58744</link>
			<description><![CDATA[<p>I have a 64G TeamGroup drive that I use regularly, when I looked at it in Gparted I also saw a chunk of unallocated space at the beginning. It was quite small, but still noticeable, maybe about 20MB. I reformatted it to use all the space available, did not suffer any data loss so far but of course with such oddities going on it&#039;s best to keep backups everywhere you can... It&#039;s also supposed to be USB 3.0 but is <strong>very</strong> slow on writes. Flash memory is getting very sketchy, a lot of people complain, especially when it comes to bigger capacity drives/cards.</p><p>Got another 64G drive by Kingston (bought together with the first one), that one came preformatted as FAT32 instead of ExFAT for some reason... Strange.</p><p>Here is another good page on the subject of fake flash drives: <a href="https://rmprepusb.com/tutorials/007-all-about-fake-sd-cards-and-usb-flash-drives/" rel="nofollow">https://rmprepusb.com/tutorials/007-all … sh-drives/</a> .</p>]]></description>
			<author><![CDATA[dummy@example.com (Calamity)]]></author>
			<pubDate>Wed, 22 Oct 2025 18:11:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58744#p58744</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58741#p58741</link>
			<description><![CDATA[<p>Look at the whole device in hexedit to see if there&#039;s any code at the beginning. I don&#039;t have any usb stick that I haven&#039;t re-partitioned to tell you what it should look like. Maybe image the image it with dd if you want to examine it later.</p><p>I think I may have seen similar on a 128 or 256G and didn&#039;t think much about it before I re-partitioned. Or I could be imagining it. FWIW, my 128 and 256G sticks suck compared to 32. They&#039;re s - l - o - w.</p><p>I read about micro-sd cards hidden inside usb sticks. Last time I looked at them in the store, they had combo packs with &quot;USB and micro-sd&quot;. They no longer hide the micro-sd - they let you insert it into the usb housing yourself.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 22 Oct 2025 16:52:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58741#p58741</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58736#p58736</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>A check if the memory on the stick really is the advertized one can be done with the f3 utility.</p></div></blockquote></div><p>Yes, I did that for the three Lexar drives. I didn&#039;t do that for the Silicon Power drive because I didn&#039;t have time, but I will. However, that is not my main concern. At this point, I am mainly concerned about the &quot;weirdness&quot; of the Silicon Power drive.</p><p>I consider all &quot;foreign&quot; (new to me) flash drives as potentially hostile hardware. Because of that, the unusually large amount of &quot;empty&quot; space before the first (and only) partition of the Silicon Power drive is concerning. Could there be malicious code hiding in there?</p><p>Since I was planning on doing it anyway, I am going to go ahead and wipe the drive. I will then format it and use <span class="bbc">f3</span> and <span class="bbc">flashbench</span> to conduct some tests on the drive. Oh, and as a precaution, before doing that I will use <span class="bbc">dd</span> to back up the MBR and partition table in case I need (or want) to restore them for some reason.</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Wed, 22 Oct 2025 14:25:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58736#p58736</guid>
		</item>
		<item>
			<title><![CDATA[Re: Flash drive weirdness]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58734#p58734</link>
			<description><![CDATA[<p>these might be of some value:</p><p><a href="https://www.theregister.com/2024/02/07/failed_usb_sticks" rel="nofollow"> https://www.theregister.com/2024/02/07/failed_usb_sticks</a></p><p><a href="https://arstechnica.com/gadgets/2024/02/rejected-chips-hidden-microsd-cards-plague-the-usb-stick-market/" rel="nofollow"> https://arstechnica.com/gadgets/2024/02/rejected-chips-hidden-microsd-cards-plague-the-usb-stick-market/</a></p><p><a href="https://forum.tinycorelinux.net/index.php/topic,26762.0.html" rel="nofollow"> https://forum.tinycorelinux.net/index.php/topic,26762.0.html</a></p><p><a href="https://forum.tinycorelinux.net/index.php/topic,26778.0.html" rel="nofollow"> https://forum.tinycorelinux.net/index.php/topic,26778.0.html</a></p><p>.</p>]]></description>
			<author><![CDATA[dummy@example.com (stargate-sg1-cheyenne-mtn)]]></author>
			<pubDate>Wed, 22 Oct 2025 14:05:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58734#p58734</guid>
		</item>
	</channel>
</rss>
