Have you tried passing the arguments to mkfs like this:
system('/sbin/mkfs', '-t', 'xfs', $device);
?
In reply to Re: calling an external program, from within a perl script
by mischief
in thread calling an external program, from within a perl script
by nick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |