现在的位置: 首页 > 综合 > 正文

Linux关于软盘的操作

2013年08月27日 ⁄ 综合 ⁄ 共 919字 ⁄ 字号 评论关闭

Linux下软盘的低级格式化、vfat格式化以及挂载的操作。

格式化软盘

# fdformat /dev/fd0
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ... done
Verifying ... done

格式化为vfat

# mkfs.msdos /dev/fd0
mkfs.msdos 2.11 (12 Mar 2005)

挂载

# mkdir /mnt/floppy
# mount -t vfat /dev/fd0 /mnt/floppy/
# mount|grep fd0
/dev/fd0 on /mnt/floppy type vfat (rw)

将镜像拷贝到目录下

# 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/
总计 243
-rwxr-xr-x 1 root root     26 07-28 13:12 disk-info
-rwxr-xr-x 1 root root     79 07-28 13:12 modinfo
-rwxr-xr-x 1 root root   6156 07-28 13:12 modules.alias
-rwxr-xr-x 1 root root 239050 07-28 13:12 modules.cgz
-rwxr-xr-x 1 root root      0 07-28 13:12 modules.dep
-rwxr-xr-x 1 root root    414 07-28 13:12 modules.pcimap
-rwxr-xr-x 1 root root    414 07-28 13:12 pci.ids
-rwxr-xr-x 1 root root    414 07-28 13:12 pcitable
-rwxr-xr-x 1 root root     38 07-28 13:12 rhdd

转自 http://www.linuxfly.org/post/537/

===================================

本文来自:http://blog.csdn.net/zh405123507

tags:Linux 软盘 floppy 格式化 fd0

抱歉!评论已关闭.