summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive8
1 files changed, 0 insertions, 8 deletions
diff --git a/draklive b/draklive
index 72b9246..67c791b 100755
--- a/draklive
+++ b/draklive
@@ -821,14 +821,6 @@ sub format_cdrom_device {
run_('wodim', '-v', 'dev=' . get_media_device($live, $opts), "blank=fast");
}
-sub format_usb_device {
- my ($live, $opts) = @_;
- my $device = get_media_device($live, $opts);
- maybe_umount_device($device);
- MDV::Draklive::Utils::device_mkfs($device, $live->{media}->get_media_setting('fs'), $live->{media}->get_media_setting('inode_size'))
- or die "unable to format device $device\n";
-}
-
#- $opts:
#- media: alternate media
sub format_device {