Mount multiple parameters separated by commas:
Example mount mount and query the partitions that have been mounted:
Examples of commands with parameters:
The default is read-write, you can create files:
After changing to RO:
Add sync parameter, do not use cache, the disadvantage is slow reading and writing, the advantage is high security.
Add the async parameter, use the cache, the disadvantage is not secure, the advantage is that the read and write speed is fast. Default Async
Examples are as follows:
The last one can be seen by sync.
Example Umount: (similar to a USB flash drive eject:)
When the program is in normal use: Prompt as follows: (busy) because the working directory is occupied
See which programs and files are in use: (Lsof mount point)
Switch to another working directory with the CD command, and you can uninstall it.
Auto Mount: (configuration file Settings)
Open it:
The configuration is as follows: (non-root user login Not saved note, should switch root user before operation)
Below use VI operation, enter the following command: Vi/etc/fstab, go to the following interface: (after adding)
View after configuration:
Then reboot via the reboot command and re-enter the system via Mount View:
To mount with a label, without a path: (before setting the label, uninstall it) you can see that the volume label has been set
Set configuration parameters by entering VI:
Linux File System Mount management