On 2021-08-26 10:34 a.m., Roberto Ragusa wrote:
On 8/26/21 2:57 PM, Geoffrey Leach wrote:
On Thu, 26 Aug 2021 09:11:34 +0200
Roberto Ragusa <mail@xxxxxxxxxxxxxxxx> wrote:
On 8/26/21 7:01 AM, Geoffrey Leach wrote:
On Wed, 25 Aug 2021 21:26:19 -0700
You could add a "sync" after the copy and before the "umount".
Just what I needed. Thanks.
Absolutely not.
If umount is failing to do a complete flushing by itself it is a
serious (press-release level) bug and must be investigated.
Which filesystem are you using?
ext4 -> vfat
The destination is the importat part: vfat.
Are you sure the umount is successful?
Maybe umount fails immediately because of something else locking the disk
(e.g. a cd into the mounted path is enough to make umount fail),
the script finishes and you remove the disk assuming it has been unmounted
but it has not been.
Are there any messages from the umount command? If you run "mount", is
the drive still mounted?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure