우분투 추가된 디스크 UUID 확인

2015/01/08 02:23


$ ls -l /dev/disk/by-uuid/


합계 0
lrwxrwxrwx 1 root root 10 11월  4 15:17 1416d714-a348-420d-88a4-d3643116999d -> ../../sda5
lrwxrwxrwx 1 root root 10 11월  4 15:17 866b5285-3103-4d49-a5de-0db96c4b46b4 -> ../../sda2
lrwxrwxrwx 1 root root 10 11월  4 15:32 a1fd40c6-e10a-4cf3-ac90-6ab2c97818c0 -> ../../sdb1

 
sudo vi /etc/fstab
 
...
# /tmp was on /dev/sda2
UUID=a1fd40c6-e10a-4cf3-ac90-6ab2c97818c0 /mnt               ext4    errors=remount-ro 0       1

 
확인해주면 종료~
 
$ sudo mount -a