News for hackers. Stuff that matters.
Re:What is fsck up to now? by kylek on Tuesday March 17, 2020 @06:29PM (#22611267)
I was thinking it was SIGINFO, but this reminded me of the SIGUSR1 trick to get the current status of a running dd process-

  $ dd if=/dev/zero of=/dev/null& pid=$!
  $ kill -USR1 $pid; sleep 1; kill $pid
  
  18335302+0 records in 18335302+0 records out 9387674624 bytes (9.4 GB) copied,  34.6279  seconds, 271 MB/s
Re:What is fsck up to now? by dntbnmpls on Tuesday March 17, 2020 @08:53PM (#22612458)
That's interesting. I always wonder how people monitored the progress of dd before it added the status option.

Now you can use the status option to get a realtime update of the progress.

dd if=/dev/urandom of=/dev/null status=progress

Re:What is fsck up to now? by masklinn on Wednesday March 18, 2020 @10:08AM (#22616793)
It is siginfo on BSDs, sigusr1 is the fallback.