Linux 23rd day HDD and Module command parsing
Time: 20180811
Uuidgen generate a random UUID
-T generates a UUID based on the system time and IP address
-R generates random UUID based on/dev/random device
Gdisk a tool for interactively managing GPT partitioned tables
Options
-l list specified disk information
Interactive Menu
b backing up a GPT partition table to a file
c Changing the partition name
D Delete Partition
I display the details of the partition
L list the known partition types
n Add a new partition
o Add a new GPT partition table
P Display partition table information
Q Do not save exit
R recovery or conversion options (for expert use only)
s sort partition
T adjust the partition type
V-Check Disk
W Save and exit
X extra features (limited to expert use)
parted a partition management tool (non-interactive mode, easy to use in scripting)
-l list all disk partition information
Partprobe (CentOS7 reread HDD partition table)
Partx-a (CENTOS6 reread HDD partition table)
Kpartx let the kernel reread the partition table
-A adding partition mappings
-F Forced mapping
Blkid Viewing property information for a specified block device
-L ' lable ' can view the disk partition corresponding to the volume label name
-U uuid to see the disk partition information for the UUID
LSBLK display the inner partition table information
-F Displays the UUID and partition type of the partition
Lsmod Show module status in the kernel
Insmod let the kernel load a module
Modprobe adding or removing a module from the kernel
--show-depends shows which modules depend on this module
Modinfo View details of a module
Rmmod Removing a module
Findfs which device is queried based on UUID or label
FINDMNT Finding the file system
Mkiso creating ISO Format files (disc mirroring)
-G generic_boot_image
Genisoimage-o Cd.iso Cd_dir
Linux 23rd day HDD and Module command parsing