-
mount usb devices by using UUID or device ID (id)Computer/linux 2008. 12. 9. 16:17
- Check UUIDs of the devices by blkid OR ls -lta /dev/disk/by-uuidblkid : /dev/sda1: LABEL="ATOM" UUID="5CD2-10BC" TYPE="vfat"
ls -lta : 5CD2-10BC -> ../../sdc1
- in fstab UUID=5CD2-10BC /media/usb-atom auto user,noauto,umask=033 0 0
- bugs
umount: mount disagrees with the fstab
- consult https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/99437/comments/3
- ls -lta /dev/disk/by-id/ returnsusb-Imation_Atom_07850E270003-0:0-part1 -> ../../sdc1
- in /etc/fstab, /dev/disk/by-id/usb-Imation_Atom_07850E270003-0:0-part1 /media/usb-atom auto user,noauto,umask=033 0 0
'Computer > linux' 카테고리의 다른 글
xorg.conf with an external monitor (0) 2008.12.17 Kill all processes with a specific name. (0) 2008.12.03 Printer Setting by using CUPS and smb (0) 2008.11.10 - Check UUIDs of the devices by blkid OR ls -lta /dev/disk/by-uuid