Help for this page

Select Code to Download


  1. or download this
    system("/sbin/mkfs -t xfs $device");
    if (!?) { print "Failed! - $?\n"; }
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    print "I GOT $device !!\n";
    system("/sbin/mkfs -t xfs $device");
    exit($?);
    
  3. or download this
    #system("/sbin/mkfs -t xfs $device");
    system("./make_fs.pl $device");
    if (!?) { print "Failed! - $?\n"; }
    
  4. or download this
    #system("/sbin/mkfs -t xfs $device");
    #system("./make_fs.pl $device");
    print `/sbin/mkfs -t xfs $device`;
    if (!?) { print "Failed! - $?\n"; }