usb mount

1. UUID 알아내기
sudo blkid

2. /etc/fstab 편집
# /etc/fstab: static file system information.
#
# Use ‘blkid’ to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# # / was on /dev/sdb1 during installation
UUID=47b4928e-649e-4e81-8496-71a925077f1a / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=73ad595f-85b6-43df-9b84-090321ee680d none swap sw 0 0

# USB Device
UUID=4DB8037701662B38 /usb ntfs-3g users,uid=33,gid=33,auto,umask=002, 0 2
#<--- 이 부분 추가해줌. # read / write 원할 경우 ntfs가 아니고 ntfs-3g로 해주어야 한다. # uid, gid는 id 명령으로 알아냄. # id -u www-data