Darren J Moffat writes:
> Matty wrote:
> > Howdy,
> > Most Linux and BSD distributions ship with a version of dd that
> > displays the status of a copy operation when a SIGUSR1 signal is
> > received. For some reason /usr/bin/dd on Solaris hosts doesn't contain
> > this capability, and I would like to add it. After reading through the
> > source code for dd.c, it looks like adding this support would be as
> > simple as installing a signal handler for SIGUSR1, and having it call
> > the function stats. I am attaching code (which I copied from the dd
> > that ships with Fedora Core Linux)
> What license is that dd code you copied under ?
> You can't just copy code like that without considering the licenses.
Indeed. That's GPLv2 code, which would require OpenSolaris dd to
become GPLv2 as well.
That can't be done. Either start provably from scratch or use
software under a compatible license.
James Carlson, Solaris Networking <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677