In today's society, computers are becoming more and more popular. we use computers, but do we know how computers work? The computer is essential to the operating system, and the development of Linux is very rapid, there are catch Ultra
In today's society, computers are becoming more and more popular. we use computers, but do we know how computers work? The computer is essential to the operating system, and the development of Linux is very rapid, there is a tendency to catch up with Microsoft, here we introduce the knowledge of Linux, so that you can learn the application of Linux system, 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 when you mount, such as ro (read-only) or the above example of ULTS (including other parameters such as rw, suid, exec, auto, nouser, and async), you can refer to "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.