Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    print "Mounted successfully.\n";
    system "sudo umount /tmp/mnt -l" and die "umount: ", $? >> 8, "\n";
    print "Unmounted successfully.\n";
    
  2. or download this
    ben@Jotunheim:/tmp$ ./mt ubuntu_9_10.iso 
    Mounted successfully.
    ...
    ben@Jotunheim:/tmp$ ./mt fake_filename
    fake_filename: No such file or directory
    mount: 32