The fstab of small knowledge of Linux

Source: Internet
Author: User

/etc/fstab file The last two columns of the parameter is what meaning, has not known, understand the next, is to expand their knowledge to

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/23/wKiom1hFQgiDXSd-AABztFy2Zhc508.png "title=" Sogou 20161205182956.png "alt=" Wkiom1hfqgidxsd-aabztfy2zhc508.png "/>

The first column: Dump option, set whether to let the Backup program dump backup file system, 0 is ignored, 1 for backup, Most of the users are not installed dump, so for them <dump> this entry should be written as 0.

          0

means do not do dump backup

          1

represents the daily action

          2

Dump action


Second column: The FSCK option,<pass> whether to test the sector with fsck: During startup, the system defaults to fsck to verify that our filesystem is complete (clean). However, some filesystem are not required for testing, such as memory replacement space (swap), or special file systems such as/proc and/sys. A value of 0 means no check, the (/) partition is always 1, the other partitions can only start at 2, and when the numbers are the same check (but not 21) fsck checks the numbers under the boss to determine the order of the file system, allowing the numbers to be 0, 1, and 2. 0 is not to test, 1 means the earliest test (usually only the root directory will be configured to 1), 2 is to be tested, but 1 will be more early test! In general, the root directory is configured to 1, and the other filesystem to be tested are configured to be 2.

Note: When you have modified the/etc/fstab, you must reboot the system to be effective.


Column Sixth : whether the sector is inspected: during the boot process, the system defaults to fsck to verify that our system is complete (clean).

0

Do not test

1

First Test (Common root directory selection)

2

Inspection after completion of the 1 level inspection



This article is from the "Court of the Odd Tree" blog, please be sure to keep this source http://zhangdl.blog.51cto.com/11050780/1879687

The fstab of small knowledge of Linux

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.