Linux關於磁碟片的操作

來源:互聯網
上載者:User

Linux下磁碟片的低階格式化、vfat格式化以及掛載的操作。

格式化磁碟片

# fdformat /dev/fd0Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.Formatting ... doneVerifying ... done

格式化為vfat

# mkfs.msdos /dev/fd0mkfs.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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.