Is a tool available to check the integrity of copied files?

Little Girl littlergirl at gmail.com
Sun Apr 16 11:47:05 UTC 2023


Hey there,

Colin Law wrote:
>Little Girl wrote:

>> https://manpages.ubuntu.com/manpages/focal/man1/nocache.1.html

>Even if that works to disable the system cache, I still think it is
>not safe to use it on a USB stick.  Sticks have an onboard cache, and
>I doubt whether nocache will tell the stick to clear the cache,
>though I may be wrong.  I think the only way to be certain is to
>unplug the stick and plug it back in again. That will guarantee that
>the data is being read from the flash on the stick, and the system
>cache will be cleared.

It's certainly a solid way. I've always chosen the "safely dismount"
context menu option from the removable-device icon in the system tray
before pulling USB sticks out to make sure all the housekeeping has
been done.

A bit more digging, for the heck of it, resulted in two more pages
that may be of interest:

https://askubuntu.com/questions/29871/how-can-i-change-the-cache-mode-of-an-usb-drive

https://askubuntu.com/questions/818690/how-can-i-change-the-cache-mode-of-a-usb-drive

-- 
Little Girl

There is no spoon.



More information about the ubuntu-users mailing list