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/8QDlM7hw0pE for your specific question.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to