Describe Linux fstab Parameters

Source: Internet
Author: User

In today's society, computers are becoming more and more popular. We use computers, but do we know how computers work? An operating system is essential to a computer. However, Linux is developing very rapidly and is catching up with Microsoft. Here we will introduce the knowledge of Linux, so that you can learn how to use Linux. Today, I will talk about the Linux fstab parameter. I hope you will remember Linux fstab.

Linux fstab stores important partition-related information. Each row is a partition record, and each row can be divided into six parts, the following uses/dev/hda7/ext2 defaults 1 as an example to describe one by one:

Fstab stores important information related to partitions. Each row is a partition record, and each row can be divided into six parts, the following uses/dev/hda7/ext2 defaults 1 as an example to describe one by one:

1. The first is the physical location of the storage device you want to mount, such as hdb or/dev/hda7 in the above example.


2. The second item is the directory to which you want to add it, such as/home or/in the above example. This is the Mount point prompted during installation.

3. the third item is the so-called local filesystem, which contains the following formats: ext, ext2, msdos, iso9660, nfs, swap, etc., or ext2, see/prco/filesystems.

4. the fourth item is the status you want to set during the mount, such as ro read-only.) or the defaults in the above example includes other parameters such as rw, suid, exec, auto, nouser, and async ), see mount nfs 」.

5. The fifth item is to provide the DUMP function. It indicates whether the BACKUP flag is required during system DUMP. The value is 0.

6. the sixth item is to set whether the filesystem performs the check action at startup. Except for the root filesystem, the required check value is 1, and the other items can be set as needed. The internal value is 0.

After reading this article, you must have gained a lot from Linux fstab. I hope this article will teach you more things.

  1. Open the door to Linux
  2. Anti-hacker attack disguised by Linux Firewall
  3. 20 years of experience: Linux embedded
  4. 10 of the best free Linux ERP software
  5. Chrome 4.0 Beta for Linux and Mac

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.