Linux 23rd day HDD and Module command parsing

Source: Internet
Author: User
Tags uuid

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.