Vfs:xfs,ext{2|3|4},btrfs
File System Management:
The behavior of adding additional file systems to an existing directory of the root file system, and thus making this directory accessible to other files is called mounting
The process of releasing this association is called unloading
Mount points: Mount point
On uninstall: You can use the device, or you can use the mount point
Umount
Note: Files that are attached to the mount point will be temporarily hidden after the mount is completed
Mounting method: Mount Dev Mount-point
-O
Async: Async Mode
Sync: Synchronous mode
Atime/noatime
Mount-a
Create an interactive partition
Mkswap/dev/sdb2
SWAPON/DEV/SDB2 Enabling Interactive Partitioning
Swapoff closing an interactive partition
File System Space Occupancy query
Df-h
-I.
-P
Memory usage queries
Free-m
/etc/fstab
To mount a device mount point file System type Mount options dump frequency self-test order
User interaction for Bash scripting:
Read command
Echo-n "Enter a user name"; Read name
-N No newline input
Read-p ' Enter a user name '-T 5 name-t Set default time 5 seconds input
[-Z "$name"] && name= ' wash ' Set default value
#!/bin/bash
#
Read-p ' Enter a disk special file ' Diskfile
[-Z $diskfile] && echo "Fool" && exit 1
If Fdisk-l | grep "$diskfile" &>/dev/null;then
Fdisk-l $diskfile
Else
echo "No such file"
Exit
8
Fi
Linux-mount-read