+++++++++++++++++++++++++ +++++ File System Management +++++++++++++++++++++++++++++++
1. Partitioning and file system:Partition type: The partition represents: File System:upgraded version of Ext2:ext with maximum support for 16TB file system and 2TB filesext3:ext2 upgrade version, and ext2 difference is with the log functionupgraded version of EXT4:EXT3 with maximum support for 16EB file system and 16TB files
2. File system common Commandsfile System View command: df--view disk partitions and their usage statistics directory or file size: du--is typically used to count directory sizesoption:-A displays disk usage per child file-H uses custom units to display disk footprint, such as KB,MB,GB- s statistics total usage, not list of directory and sub-file usage the du command differs from the DF command:
The DF command takes into account the file system, not only the space occupied by the file, but also the space occupied by the command or program.The du command is file-oriented and only calculates the space occupied by files and directories File System repair command: FSCK partition device file name Show disk status command: DUMPE2FS partition device file name mount Command:Query System mounted devices: Mount-lAuto Mount: mount-a--automatically mounts according to the contents of the profile/etc/fstabMount command format: Mount [-t file system] [-l volume label name] [-o Special Options] device file name mount pointmounting discs and USB sticks:Mounting Discs--Set up mount point: Mkdir/mnt/cdrom--Insert Disc--Mount CD: Mount-t iso9660/dev/sr0/mnt/cdrom--Uninstall: Unmount/mnt/cdromMount USB: mount-t vfat/dev/sdb1/mnt/usb/Note: View the file device name of the USB drive--fdisk-lLinux default is not supported for NTFS file system NTFS file system supportDownload ntfs-3g PluginInstalling the NFTS-3G pluginMount: mount-t ntfs-3g/dec/sdb1/mnt/usb1
3. Fdisk Manual Partitioning
fdisk Command Partitioning procedure: command--fdisk/dev/sdb fdisk interactive instruction description table re-reads partition table information: Partprobe command format partition: mkfs-t ext4/dev/sdb1
Partition Auto mount and fstab file repair:Modify the contents of a/etc/fstab file Auto Mount command: Mount-a /etc/fstab File Repair: Mount-o REMOUNT,RW/ +++++++++++++++++++++++++ +++++ File System Management +++++++++++++++++++++++++++++++
Linux Learning Notes-file System Management (vii)