dd Command Is Being Killed by Signal 13


Environment

OS Level: AIX Version 4.2
Type/Model: 990

Problem

When the dd command is run, it is being killed by signal 13 (SIGPIPE).

Solution

To prevent this from occurring, the following script should be created to run the dd command. The script will trap signal 13.
   #!/bin/ksh
   trap '' 13
   dd if=[device] of=[filename]
The preceding dd command can be replaced with one that is useful in your environment.

Currently, the only signals that cannot be trapped are:

  • SIGKILL         9
  • SIGSTOP       17
  • SIGCONT     19


    [ Doc Ref: 95634837621220     Publish Date: Apr. 28, 2000     4FAX Ref: none ]