Re: What is the new sync command?

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

 



just "sync" should work as it will sync the whole system, and
generally the other filesystems have little or no data in them so sync
fast.

sync <file> syncs a file, and the data is not queued up on the
file/device /dev/sdc1 (a tiny amount is, but that will sync fast) the
data is queue on the filesystem that sits ontop /dev/sdc1.

On Sun, Apr 26, 2020 at 7:37 PM Cameron Simpson <cs@xxxxxxxxxx> wrote:
>
> On 26Apr2020 20:00, Tom Horsley <horsley1953@xxxxxxxxx> wrote:
> >On Sun, 26 Apr 2020 16:50:57 -0700
> >ToddAndMargo via users wrote:
> >
> >> Is there a better command to see if the flush
> >> is finished?
> >
> >The umount should hang till the writes are done. That's the
> >way it always works for me.
>
> Definitely. But so should the sync. Something's odd there. That said, I
> have never done sync with a device name. ToddAndMargo: was your device
> name correct? Syncing the wrong devie might well come back instantly.
>
> Cheers,
> Cameron Simpson <cs@xxxxxxxxxx>
> _______________________________________________
> 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
_______________________________________________
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