On Tue, 2024-06-04 at 06:51 -0400, Bud Heal wrote: > I filled up the (micro)SDs, including the current one I have been scanning > into, the one that I set aside as probably defective and the pair I bought > for testing. I will append the bash script.
I appreciate that you've scripted this, but you missed step 2: remove and reinsert the card. Without that, the script may just be reading files out of the cache if your system has enough RAM. In the script you could alternately flush the cache: echo 1 > /proc/sys/vm/drop_caches if you're running it as root. > As I look again, I read that > you wanted this done on Windows but I did not use cygwin because putting > Windows into the mix could affect the steps that invoke the data > corruption. I wanted you to do this on Windows so that we could see if the same corruption could occur. > Instead, I installed Debian bookworm without a graphical > desktop (unchecked anything except system and ssh). One also activates the > network interface and DHCP. That way, the SD and its folders will not be > affected by adding thumbnails, which I have identified as a way to avoid > the problem. So disabling automatic thumbnail generation mitigates the problem, but we already knew that, didn't we? > After satisfying that step, I tried a SD without using the wand scanner. > This newest laptop does not have a SD slot so I used a USB device. I > enabled showing thumbnails. Bookworm's behavior is different from observed > on buster and (probably) bullseye: when one copies a folder to the > computer, and opens on the desktop during copying: (1) the folder on the SD > quickly displays the thumbnails (serially from the top) but (2) the > destination folder opens, begins to show thumbnails but is prone to > continue copying but stopping placing thumbnail. If the SD's folder is > opened, no more thumbnails are added on the computer until the copying is > finished. If the SD's folder is not opened, the thumbnails may stop or may > continue, but there is an extended pause without any indication that the > last two files have been copied, until the progress dialog is closed and > its window is refreshed. If neither folder is opened during copying, the > copying progresses without such pauses and one can then open the folders > and watch the thumbnails be created. [...] So one or both of: - A change in the way this newer version of GNOME (or whichever desktop environment you're using) does thumbnail generation - Using USB storage instead of an SD controller mitigates the problem, but we don't know which. Ben. -- Ben Hutchings Any sufficiently advanced bug is indistinguishable from a feature.
signature.asc
Description: This is a digitally signed message part