FAT32 Study Notes (5) -- fat related tools

Source: Internet
Author: User

1. Tools that format a block device as FAT32 include:

Mkfs. FAT32 (this tool is provided in Linux)

Newfs_msdos (this tool can be used on the Android platform)

 

Newfs_msdos-F 32/dev/block/ram0-s 8192-O Android-l zhiliao (-F 32 indicates formatting it to FAT32 format, /dev/block/ram0 is the device to be formatted,-s 8192 is the device size, 8192 represents 8192 sector, and each sector is 512 bytes, -O Android indicates the fatimg OEM name, and-l zhiliao indicates the name of the drive letter displayed on the PC)

 

2. newfs_msdos

 

Option

Description

-N

Don't create a file system: Just print out parameters

-B boot

Get Bootstrap from file.

-F fat-type

Fat Type (one of 12, 16, or 32 ).

-I volid

Volume ID.

-L label

Volume label (up to 11 characters ).

-O OEM

OEM string (up to 8 characters). The default is "BSD 4.4 ".

-S sector-size

Number of bytes per sector.

-A fat-size

Number of sectors per fat.

-B block-size

File System block size (bytes per cluster ).

-C cluster-size

Sectors per cluster.

-E dirents

Number of root directory entries (fat12 and fat16 only ).

-F format

Specify a standard (floppy disk) Format

Option

Description

-H heads

Number of drive heads.

-I info

Location of the file system info sector (FAT32 only ).

-K backup

Location of the backup Boot Sector (FAT32 only ).

-M Media

Media Descriptor (acceptable range 0xf0 to 0xff ).

-N fats

Number of fats. acceptable values are 1 to 16 inclusive

-O hidden

Number of hidden sectors.

-R Reserved

Number of reserved sectors.

-S total

File System size.

-U track-size

Number of sectors per track.

 

FAT32 Study Notes (5) -- fat related tools

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.