Fstab

From
Jump to: navigation, search

Tips and trick for /etc/fstab


Add USB memory stick to fstab[edit]

How to mount a memory stick to dedicated folder:

  • Create folder
sudo mkdir /media/sticks/stick_1
  • Insert memory stick and get device name
sudo dmesg
  • Get UUID of memory stick
sudo blkid | grep sda
  • Edit /etc/fstab and insert
sudo nano /etc/fstab
UUID=0C64-D81B  /media/stick/stick_1        vfat    noauto,user, 0  0
  • After mount memory stick as normal user by
mount /media/stick/stick_1