Summary
The program needs to be changed so it employs a device driver that can accept special character device controls. This is a programming error and the ioctl(2) system call was given as an argument for a file that is not a special character device.
1
2
To identify the exact point of failure, the user should add echo statements in the script until the statement that fails is identified.
1
According to
See more results on Neeva
Summaries from the best pages on the web
Summary
You are doing something in your script directly or indirectly that does indeed require a tty, but it is not a read nor a write. Put some echo statement in your script "echo at point 1", "echo at point 2", etc until you see the statement that fails.
Inappropriate ioctl for device - The UNIX and Linux Forums
unix.com
Summary
This is a programming error.
Ask the program's author to fix this condition. The program needs to be changed so it employs a device driver that can accept special character device controls.
The ioctl(2) system call was given as an argument for a file that is not a special character device.
oracle.com
"inappropriate ioctl for device" Odd errors like "inappropriate ioctl for device" are usually a result of checking $! at some point other than just after a ...
"inappropriate ioctl for device"
newbedev.com
I'd be happy for an advice on how to get rid of this error. Thanks, Adi. Comment on Inappropriate ioctl for device Select or Download Code Replies are listed ...
Inappropriate ioctl for device
perlmonks.org