aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/util/dskpad.pl
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/util/dskpad.pl')
-rwxr-xr-xgpxe/src/util/dskpad.pl12
1 files changed, 0 insertions, 12 deletions
diff --git a/gpxe/src/util/dskpad.pl b/gpxe/src/util/dskpad.pl
deleted file mode 100755
index 3ae325eb..00000000
--- a/gpxe/src/util/dskpad.pl
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use warnings;
-
-use constant FLOPPYSIZE => 1440 * 1024;
-
-while ( my $filename = shift ) {
- die "$filename is not a file\n" unless -f $filename;
- die "$filename is too large\n" unless ( -s $filename <= FLOPPYSIZE );
- truncate $filename, FLOPPYSIZE or die "Could not truncate: $!\n";
-}