Article Title: how to modify the default Mount partition in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
After mounting a partition with mount, it will not be loaded when Linux is restarted next time. to load it, you must modify the/etc/fstab file.
The content of this file is as follows:
/Dev/sda1/ext3 defaults 1 1
None/dev/pts devpts gid = 5, mode = 620 0 0
None/proc defaults 0 0
None/dev/shm tmpfs defaults 0 0
/Dev/sda2 swap defaults 0 0
/Dev/cdrom/mnt/cdrom udf, iso9660 noauto, owner, kudzu, ro, iocharset = cp936 0 0
/Dev/fd0/mnt/floppy auto noauto, owner, kudzu 0 0
The first column is the partition, the second column is the partition, the third column is the partition, and the fourth column is the character set.