Re: Install Fedora -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Oct 22, 2020, at 02:47, J.Witvliet--- via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> 
> After doing the “dd” to the raw device, do not do a “sync”, as this is for synchronizing filesystems. Just remove the device.
> In case something tried to mount the content of the device (before it was wiped by dd) it might try to write back data to the device and by that action corrupting the freshly written image.

It’s not a terrible idea to use sync. You absolutely should not be running dd to a device that is used in a mounted file system. It should be unmounted first. Then there is no risk of sync corrupting the disk. 

The ‘sync’ command flushes buffers to disk, and that’s not just for file systems. Depending on how dd was run, it’s possible that there are buffers in the kernel that haven’t been written. Just yanking the USB device out might result in missing data. 

You could include ‘conv=sync’ in your dd command if you want to ensure that everything is written, but it might not as fast, depending on the block size. 

I tend to just run ‘eject’ on the USB device, which also prompts the kernel to write the buffers to disk, but just for that device. 

--
Jonathan Billings

_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux