In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the use of the mformat command in Linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
The Linux mformat command is used to format the disks of the MS-DOS file system.
Build a DOS file system on a disk that has been formatted at a low level. If you turn on the parameters of USE_2M while programming mtools, some of the parameters related to the 2m format will work. Otherwise, these parameters (such as Smage2pl 1M) will not work.
Syntax mformat [- t cylinders] [- h heads] [- s sectors] [- l volume_label] [- F] [- I fsVer-sion] [- S sizecode] [- 2 sectors_on_track_0] [- M software_sector_size] [- a] [- X] [- C] [- H hidden_sectors] [- r root_sectors] [- B boot_sector] [- 0 rate_on_track_0] [- A rate_on_other_tracks] [- 1] [- k] drive:
Parameters:
-t columns (synlider)-h heads (head)-s number of sectors per track-l label-F formats the disk into FAT32 format, but this parameter is still being tested. -I sets the version number in FAT32. This is, of course, still in the experiment. -S sector size code, calculated as sector = 2 ^ (size code + 7)-the number of sectors of the magnetic cluster (cluster). If the given number causes the number of magnetic clusters to exceed the limit of the FAT table, mformat automatically magnifies the number of sectors. The size of the magnetic area of the smurm software. This number is the size of the sector returned by the system. It's usually the same size as the actual size. -an if you add this parameter, mformat will generate a set of Atari system serial numbers to the floppy disk. -X formats the floppy disk into XDF format. The floppy disk must be formatted at a low level with the xdfcopy command before use. -C produces a disk image file (disk image) that can install the MS-DOS file system. Of course, this parameter does not make sense for a physical disk drive. -H the number of hidden sectors. This usually applies when formatting a partition of a hard disk, because there is usually a partition table in front of a partition. This parameter has not been tested, so you don't have to use it. -n disk sequence number-the size of the root directory, in units of the number of sectors. This parameter is valid only for FAT12 and FAT16. -B uses the boot sector of the specified file or device as the boot sector of this disk or partition. Of course, the hardware parameters will be changed accordingly. -k try to keep the original boot sector. -0 data transfer rate for track 0-A data transfer rate other than track 0-2 using 2m format-1 example without using 2m format
Format the disk in a: (that is, / dev/fd0) with the default value.
Mformat a: thank you for reading this article carefully. I hope the article "what is the use of mformat commands in Linux" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.