How to use floppy disks, discs, and DOS such as Linux

xiaoxiao2021-03-06  37

This is the most questionable problem with Linux beginners. Because everyone has become accustomed to Microsoft's access methods, we always want to find a floppy disk and disc. However, under Linux, the method of processing the device as a file along with UNIX. So to access the floppy disk and disc, you must first load them into the / mnt directory of the Linux system. The loaded command is MOUNT, the format is as follows: mount -t file system type device name load directory file system type is partition format, Linux supported file system types There are many: MSDOS DOS partition file system type VFAT supports long file name DOS partition file (Understand Windows File) System Type ISO9660 CD file system type EXT2 Linux file system type ... device name, refers to the name of the device you want to load. The floppy disk is generally / dev / fd0 fd1; the disc is determined according to your location of the drive, usually the light-driven main wheel position is / dev / hdc; if access is DOS partition, it lists its device. Name, such as / dev / hda1 refers to the first partition of the first hard disk. The load directory is the load point of your specified device. 1. The loading flopp is first built with MKDIR / MNT / FLOPPY to create an empty floppy directory in / mnt directory, then enter mount -t msdos / dev / fd0 / mnt / flopp loading a floppy disk in the DOS file format comes in, You can find all the contents of this floppy disk in / mnt / floppy directory. 2. Load Windows The C Dish MKDIR / MNT / C is established in / mnt directory; mount -t vfat / dev / hda1 / mnt / c puts the Windows C disk Press long file name format to / In the MNT / C directory, you can read and write the contents in the C drive root directory in this directory. 3. Load CD MKDIR / MNT / CDROM Create an empty CDROM directory in / mnt directory; mount -t ISO9660 / dev / hdc / mnt / cdrom loads the disc in the file system, will be in / mnt / cdrom directory Look down the disc content. Some Linux versions allow the disc to be loaded with the mNT / dev / cdrom or mount / mnt / cdrom command. It should be noted that the mount command is loaded with a floppy disk, the disc, not a floppy drive, and the optical drive. Some beginners are easy to make a problem, think that after using the above command, the floppy drive will become / mnt / floppy, the optical drive will become / mnt / cdrom, in fact, when you want to change a CD or floppy disk, you must first uninstall , Reloading the new disk. 4. Uninstall the unloaded command format is: UMONUT directory name, for example to uninstall the floppy disk, enter the command umonut / mnt / floppy. It is to be noted that the pop-up button directly on the light-drive panel is not active before uninstalling the disc.

转载请注明原文地址:https://www.9cbs.com/read-76511.html

New Post(0)