Re: What is the new sync command?

2020-04-27 Thread Cameron Simpson
On 27Apr2020 14:42, Jon LaBadie 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

Re: What is the new sync command?

2020-04-27 Thread Jon LaBadie
On Sun, Apr 26, 2020 at 04:50:57PM -0700, ToddAndMargo via users wrote: > Hi All, > > 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?

Re: What is the new sync command?

2020-04-27 Thread Tom Horsley
On Mon, 27 Apr 2020 12:46:47 + J.Witvliet--- via users wrote: > That’s odd. > The data structures in memory should know if the dirty-flag is set or not. You'd think, but for many releases now (long ago it didn't happen) if I have a USB drive plugged in and not even mounted, doing a reboot

Re: What is the new sync command?

2020-04-27 Thread J.Witvliet--- via users
From: "Tom Horsley" mailto:horsley1...@gmail.com>> Date: Monday, 27 April 2020 at 14:42:31 To: "users@lists.fedoraproject.org" mailto:users@lists.fedoraproject.org>> Subject: Re: What is the new sync command? On Sun, 26 Apr 2020 19:46:15 -0500 Roger Heflin w

Re: What is the new sync command?

2020-04-27 Thread Tom Horsley
On Sun, 26 Apr 2020 19:46:15 -0500 Roger Heflin wrote: > 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. Unless you leave your external USB drive plugged in, in which case it takes 30 seconds to spin

Re: What is the new sync command?

2020-04-26 Thread Tim via users
On Sun, 2020-04-26 at 18:36 -0700, ToddAndMargo via users wrote: > As soon as I exited the krusader window inside the stick, I could > unmount That kind of thing has been an annoying bug for ages. You have file browsers that have right-click options allowing you to unmount something from their

Re: What is the new sync command?

2020-04-26 Thread Cameron Simpson
On 26Apr2020 18:36, ToddAndMargo wrote: On 2020-04-26 17:36, Cameron Simpson wrote: On 26Apr2020 20:00, Tom Horsley 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

Re: What is the new sync command?

2020-04-26 Thread ToddAndMargo via users
On 2020-04-26 17:36, Cameron Simpson wrote: On 26Apr2020 20:00, Tom Horsley 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

Re: What is the new sync command?

2020-04-26 Thread Roger Heflin
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 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

Re: What is the new sync command?

2020-04-26 Thread Cameron Simpson
On 26Apr2020 20:00, Tom Horsley 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.

Re: What is the new sync command?

2020-04-26 Thread Tom Horsley
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. ___ users mailing list --

Re: What is the new sync command?

2020-04-26 Thread ToddAndMargo via users
On 2020-04-26 16:50, ToddAndMargo via users wrote: Hi All, 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? Many thanks, -T It did finally let me

What is the new sync command?

2020-04-26 Thread ToddAndMargo via users
Hi All, 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? Many thanks, -T ___ users mailing list --