--- shred.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shred.c b/shred.c index b2375f6..e8d71f4 100644 --- a/shred.c +++ b/shred.c _AT_@ -100,6 +100,10 @@ do_shred_content(int dest, char *destpath, int src, const char *srcpath, off_t s fprintf(logfp, "\033[A\033[K"); } + fprintf(logfp, " Synchronising\n"); + fsync(dest); + fprintf(logfp, "\033[A\033[K"); + lseek(dest, 0, SEEK_SET); } -- 2.7.4Received on Sun Mar 27 2016 - 23:34:00 CEST
This archive was generated by hypermail 2.3.0 : Sun Mar 27 2016 - 23:36:14 CEST