Ok, this explains the error level. However, it doesn't
explain the fact that the command doesn't work from this
perl script. However, it does work from the cmnd
line, and also from a little 3 liner (in the examples
above).
So I know the system call is working, because it can call
the 3 line perl script. I know the command 'mkfs' is
working, because I can run the 3 liner, and the command
executes.
when I run the 'mkfs' command from the large perl script,
even though ($? >> 8) may return a 0 exit code, the device
is not created, because there is not XFS filesystem on the
device when I check after running it.
Also, if I grab the output with backticks, there is none.
(and this is a verbose command, so there should be several
lines of output when generating the XFS Filesystem).
Any thoughts?
- Nick