Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use floppy disk, CD and other partitions under Linux

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to use floppy disks, CDs and other partitions under Linux". The content in the article is simple and clear, and it is easy to learn and understand. please follow the editor's ideas to study and learn "how to use floppy disks, CDs and other partitions under Linux".

This is the most frequently asked question for beginners of Linux. As we are used to Microsoft's access method, we always want to use similar ideas to find floppy disks and CDs. But under Linux, it follows UNIX's method of treating the device as a file. So to access floppy disks and CDs, you must first load them into the / mnt directory of your Linux system.

The mount command is mount in the following format: mount-t file system type device name mount directory

The file system type is the partition format, and Linux supports many file system types:

Msdos DOS partition file system type

Vfat supports DOS partition files with long filenames (can be understood as Windows files) system types

File system type of iso9660 CD

File system type of ext2 Linux

.

The device name, which refers to the name of the device you want to load. Floppy disk is generally / dev/fd0 fd1; CD-ROM, then according to the location of your CD-ROM drive, usually the main disk location of the second hard disk is / dev/hdc;. If you are accessing the partition of DOS, list its device name, such as / dev/hda1 refers to the first partition of the first hard disk. The load directory is the load point where you specify the device.

1. Load floppy disk

First use mkdir / mnt/floppy to create an empty floppy directory in the / mnt directory, then type mount-t msdos / dev/fd0 / mnt/floppy to load a floppy disk in the DOS file format, and then you can find all the contents of the floppy disk in the / mnt/floppy directory.

two。 C disk where Windows is loaded

Mkdir / mnt/c create an empty c directory under the / mnt directory

Mount-t vfat / dev/hda1 / mnt/c loads the C disk of Windows into the / mnt/c directory in a long file name format, where you can later read and write the contents of the C disk root directory.

3. Load CD

Mkdir / mnt/cdrom create an empty cdrom directory under the / mnt directory

Mount-t iso9660 / dev/hdc / mnt/cdrom loads the CD into the file system and will find the contents of the CD in the / mnt/cdrom directory. Some Linux versions allow you to load the disc with the mount / dev/cdrom or mount / mnt/cdrom command.

It is important to note that the mount command is used to load floppy disks and CDs, not floppy drives and CD-ROMs. Some beginners are easy to make a mistake, thinking that after using the above command, the floppy drive becomes / mnt/floppy, and the CD-ROM drive becomes / mnt/cdrom. In fact, when you want to change a CD or floppy disk, you must uninstall it first, and then reload the new disk.

4. Unloading

The uninstall command format is: umonut directory name, for example, to uninstall a floppy disk, enter the command umonut / mnt/floppy. It is important to note that directly pressing the eject button on the CD drive panel will not work before uninstalling the CD.

Thank you for your reading, the above is the content of "how to use floppy disks, CDs and other partitions under Linux". After the study of this article, I believe you have a deeper understanding of how to use floppy disks, CDs and other partitions under Linux. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report