Use of floppy disks in linux

Source: Internet
Author: User
Use of floppy disks in linux-general Linux technology-Linux technology and application information. The following is a detailed description. I went to the interview two days ago and made a test paper. I did not answer one question. The first question of the paper was "How to mount a floppy disk in linux".

The other scripts and other things are all done. This is the case. During the interview, I told me that you have been using linux for so long, how to mount a floppy disk?

I have mounted hard drives, optical drives, tape drives, and mobile devices. To be honest, I have never mounted a floppy disk in linux. In fact, the mount format is similar. It is hard to remember the name of the device file on the floppy disk.

Do it now:

1. Mounting Floppy Disks
Must be manually mounted and unmounted
Mount/dev/fd0/media/floppy
Umount/media/floppy

2. Formattiong Floppy Disks
Two types of format needed to prepare a floppy:
Alow levelformat: fdformat/dev/df0H1440
A filesystem, one
Mkfs-t ext2/dev/fd0
Mke2fd/dev/fd0
Mkfd-t vfat/dev/fd0

3. Use tar to back up files to unformatted floppy disk
Floppeds can used like tape drives
Low level format required
File system not needed
Floppy cannot be mounted
Use tar to write to the floppy
/Dev/fd0 ks the destination

Perform the following steps for backup:
# Unount/media/floppy (unmount)
# Fdformat/dev/fd0H1440 (low)
# Tar cvfM/dev/fd0 file)

Restore:
# Tar xvfM/dev/fd0

If multiple disks exist, a message is displayed after the first disk is restored.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.