On 7/4/24 6:14 PM, Tide Ka via users wrote:


On 7/5/24 08:58, Samuel Sieb wrote:
The writing is finished when dd exits, but the drive might keep flashing briefly after that.  Or maybe the drive has some internal caching that it doesn't advertise (that would be very bad).

Won't there be any kernel cache, so `sync` command is their for coping with the cache?

I'm not sure what you're asking. Unless you tell it to write synchronously, "dd" will use the kernel caching as normal. But it also does a sync at the end, so it won't actually exit until everything is written. There's no need to run "sync" after. If you use the progress option, you'll see that it has "written" all the data, but it's still quite a while after that before it exits.

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to