Page MenuHomeFreeBSD

dd status=progress WIP
ClosedPublic

Authored by imp on Aug 9 2018, 12:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 1:12 AM
Unknown Object (File)
Nov 17 2023, 8:13 AM
Unknown Object (File)
Nov 15 2023, 8:10 AM
Unknown Object (File)
Nov 10 2023, 9:54 PM
Unknown Object (File)
Oct 9 2023, 8:51 PM
Unknown Object (File)
Aug 15 2023, 6:00 AM
Unknown Object (File)
Jul 13 2023, 5:44 AM
Unknown Object (File)
Jun 5 2023, 11:35 AM
Subscribers

Details

Summary

this is the WIP I had when the progress commit was made.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Nothing really substantial just a couple of inline comments and...

  • This kills part of the load line of SIGINFO ('load: 0.62 cmd: dd 10213 [running] 16.32r 4.08u 12.23s 80% 2592k/s") but in retrospect I don't think that's really a concern
  • As someone who frequently transfers to sdcard and is certainly too lazy to do conversions manually, the extra humanized versions in the output are certainly appreciated

I'd say go for it, both to reduce diff with your work on it (given that neither the original submitter of the status=progress patch nor myself have anything else queued as you do) and for the juicy humanization.

bin/dd/dd.c
98 ↗(On Diff #46461)

C99 initializer might be preferred here, but I won't hassle you one way or the other on it. =)

292 ↗(On Diff #46461)

This section should go away entirely.

bin/dd/misc.c
60 ↗(On Diff #46461)

Pull this out as well

114 ↗(On Diff #46461)

This gets thrown into .bss anyways, could drop the initialization to 0.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 15 2018, 7:46 PM
This revision was automatically updated to reflect the committed changes.