On 11/7/18 4:33 PM, Samuel Sieb wrote:
On 11/7/18 4:24 PM, ToddAndMargo via users wrote:
On 11/7/18 3:58 PM, Samuel Sieb wrote:
On 11/5/18 9:03 PM, ToddAndMargo via users wrote:
I am starting to use flash drive s with no led activity indicator. In my scripts that write to them, I am able to umount then watch the blinking lights to make sure it is done before removing them
But with no led indicator, how can I test from my script to make sure it is done writing?
When the umount is complete, it is safe to remove.
Not with the led light flashing!!!!
If the LED is still flashing then it's the stick having a delay before turning it off or some other USB bus activity. When the umount returns, everything is flushed. I guarantee that when Gnome says you can remove the stick, it's because the umount call returned. Do a Google search for "does umount sync" and see https://groups.google.com/forum/#!topic/comp.os.linux.development.apps/8QDlM... for your specific question.
You bet.
Only problem is that when the light is blinking, there is still something being transferred.