#!/bin/bash

D1=D
D2=("FORMAT FLOPPY (EXT2)")

function format_ext2flop {

    grep -q ${A} /etc/mtab && umount ${A}
    setfdprm -p ${FLOP} 1440/1440
    fdformat ${FLOP} && mke2fs ${FLOP} 1440

}

function format_ext2 {

    exec_command "format_ext2flop"

}
