Home>Article>Operation and Maintenance> How to format hard drive in linux

How to format hard drive in linux

尚
Original
2020-03-11 17:40:00 11173browse

How to format hard drive in linux

You can use the following command to format the hard disk in Linux:

mkfs -t type dev

Parameter introduction:

mkfs: format command, create file system

-t: Specify the file system type

type: Specific file system type. For example: ext2, ext3

dev: device file, usually a partition

Example:

How to format hard drive in linux

Recommended learning:Linux video Tutorial

The above is the detailed content of How to format hard drive in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn