How to update files in /dev after editing disk partitions —01 July 2008
- After editing the partition table, to have the proper device files created under
/dev, run:partprobe. (It is inpartedpackage.) - After creating filesystems, to have the proper files created under
/dev/disk/by-uuid, run:/etc/init.d/udev restart. - To find the uuid of filesystems, run:
blkid.
This is in Ubuntu or Debian.