linux 新增硬碟
ls -l /dev/disk/by-uuid or blkid
total 0
lrwxrwxrwx 1 root root 10 2010-04-01 08:51 4e93e1fd-d589-41f5-9735-dd30b6b2f7e6 -> ../../sdb5
lrwxrwxrwx 1 root root 10 2010-04-01 08:51 963c2d3d-b7e8-4f10-bb12-aaa9863e7af7 -> ../../sdb6
lrwxrwxrwx 1 root root 10 2010-04-01 08:51 c9c2c346-8a98-44d5-85d8-f19042f2a22c -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-04-01 08:51 e8c12bcb-879a-4994-9239-683bc8ac6cae -> ../../sda1
[root@dns etc]# cat fstab
# Entry for /dev/sdb1 :
UUID=c9c2c346-8a98-44d5-85d8-f19042f2a22c / ext2 relatime 1 1
# Entry for /dev/sda1 :
UUID=772a315a-fc8f-48bc-8609-99493dbd1cde /home1 ext2 relatime 1 1
none /proc proc defaults 0 0
# Entry for /dev/sdb5 :
UUID=92dcde43-613e-4851-a76c-4825c93fff31 swap swap defaults 0 0
# Entry for /dev/sdb6 :
UUID=963c2d3d-b7e8-4f10-bb12-aaa9863e7af7 /home ext3 defaults 0 0