Messages in this thread | | | Date | Thu, 17 Sep 2015 11:50:52 +1000 | From | Dave Chinner <> | Subject | Re: how to check how much data left to sync to disk at umount? |
| |
On Mon, Sep 07, 2015 at 01:29:33PM +0800, Jeff Chua wrote: > When umount a slow device such as an SD card, the command will take a > while to run depending on how much data is left to write to the > device. Is there way to check how much data is remaining waiting to > write to the device?
$ grep "Dirty\|Writeback" /proc/meminfo
And infer from that.
-Dave. -- Dave Chinner david@fromorbit.com
| |