From c854f35a90d4bff8ad921916ead53260004440ec Mon Sep 17 00:00:00 2001 From: Gerhard Gonter <ggonter@gmail.com> Date: Fri, 17 Jan 2025 22:00:56 +0100 Subject: [PATCH] changes on nbgg3 --- hacks/misc/fillup.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hacks/misc/fillup.pl b/hacks/misc/fillup.pl index e476999..fbbd5fc 100755 --- a/hacks/misc/fillup.pl +++ b/hacks/misc/fillup.pl @@ -84,13 +84,13 @@ sub usage } my $file_size= $block_size*$mb_count; -print "file_size=[$file_size]\n"; if (!-f $input || (stat(_))[7] < $file_size) { # create input file if it does not exist or is too small my @cmd= ('dd', 'if=/dev/urandom', "of=$input", "bs=$block_size", "count=$mb_count"); print ">>> ", join (' ', @cmd), "\n"; system (@cmd); } +print "file_size=[$file_size]\n"; unless (-d $output) { @@ -161,7 +161,7 @@ while (1) else { my $rc= system (@c); - print join (' ', @c), ", rc='$rc'\n"; + print join (' ', scalar localtime(time()), @c), ", rc='$rc'\n"; if ($rc) { print "copy return code=[$rc]; stopping\n"; -- GitLab