這是本文件的舊版!
Utils
Safely unplug
unmount mount-point echo 1 | sudo tee /sys/block/sdX/device/delete
Change UUID
tune2fs /dev/sdX -u {uuid} cryptsetup luksUUID /dev/sdX0 --uuid {uuid}
# bsd gpart list geom disk list camcontrol devlist # linux lsblk
disk_utils
這是本文件的舊版!
unmount mount-point echo 1 | sudo tee /sys/block/sdX/device/delete
tune2fs /dev/sdX -u {uuid} cryptsetup luksUUID /dev/sdX0 --uuid {uuid}
# bsd gpart list geom disk list camcontrol devlist # linux lsblk