Low-level formatting, vfat formatting, and mounting of floppy disks in Linux.
Format a floppy disk
# Fdformat/dev/fd0Double-sided, 80 tracks, 18 SEC/track. Total capacity 1440 kb. Formatting... doneverifying... Done
Format as vfat
# Mkfs. msdos/dev/fd0mkfs. msdos 2.11 (12 Mar 2005)
Mount
# Mkdir/mnt/Floppy # Mount-T vfat/dev/fd0/mnt/floppy/# Mount | grep fd0/dev/fd0 on/mnt/Floppy type vfat (RW)
Copy the image to the directory
# Mount-o loop megaraid_sas-v00.00.04.17_2.6.9_89-32_64.AX2SP4.img/mnt/disk # cp/mnt/Disk/*/mnt/floppy/# ll/mnt/floppy/total 243-rwxr-xr-x 1 Root 26 07-28 disk-Info-rwxr-XR-x 1 Root 79 07-28 13:12 modinfo-rwxr-XR-x 1 Root 6156 07-28 13:12 modules. alias-rwxr-XR-x 1 Root 239050 07-28 13:12 modules. cgz-rwxr-XR-x 1 Root 0 07-28 13:12 modules. dep-rwxr-XR-x 1 Root 414 07-28 modu12 modules. pcimap-rwxr-XR-x 1 Root 414 07-28 13:12 PCI. ids-rwxr-XR-x 1 Root 414 07-28 pcitable-rwxr-XR-x 1 Root 38 07-28 rhdd
From http://www.linuxfly.org/post/537/
==========================================
From: http://blog.csdn.net/zh405123507