Re: What is the new sync command?

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

 



On 27Apr2020 14:42, Jon LaBadie <jonfu@xxxxxxxxxx> wrote:
On Sun, Apr 26, 2020 at 04:50:57PM -0700, ToddAndMargo via users wrote:
I am writing several GB of data to a flash drive.
It won't dismount as it is stikll flushing.

# sync /dev/sdc1

comes back instantly.

Is there a better command to see if the flush
is finished?

Don't know the answer, but it is not sync.
Sync queues the flushes then returns.  Does
not wait until they have been done.

Sync does wait, that's what its name means.

The OS will be queuing things anyway because it is in its interest to minimise the dirty pages in memory (more free pages means more ability to accomodate needs, and fewer dirty pages means less fs damage in case of a crash).

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



[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