Linux Disk Storage Cheat Sheet/Wait for udev after partition changes

Wait until udev finishes processing newly created partitions.

Section: Partitions and Labels

Wait for udev after partition changes

bash
bash
sudo udevadm settle
Explanation

Wait until udev finishes processing newly created partitions.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Partitions and Labels
List partition tables
Show disks, sector sizes, partition tables, and partitions.
OpenIn sheetbashsame section
Edit a disk with fdisk
Interactive MBR/GPT partitioning for a specific disk.
OpenIn sheetbashsame section
Print partition layout with parted
Display partition table details using parted.
OpenIn sheetbashsame section
Create a GPT label
Initialize a disk with a GPT partition table.
OpenIn sheetbashsame section
Create a new partition
Create a partition aligned for modern disks.
OpenIn sheetbashsame section
Ask kernel to reread partition table
Refresh partition table changes without rebooting.
OpenIn sheetbashsame section