Changes

Jump to navigation Jump to search
90 bytes added ,  21:16, 11 April 2015
Line 51: Line 51:  
3.2 Edit /etc/fstab, add line:
 
3.2 Edit /etc/fstab, add line:
 
  <nowiki>/dev/sda1 /home/pi/usbdrv vfat uid=pi,gid=pi,umask=0022,sync,auto,nosuid,rw,nouser 0 0</nowiki>
 
  <nowiki>/dev/sda1 /home/pi/usbdrv vfat uid=pi,gid=pi,umask=0022,sync,auto,nosuid,rw,nouser 0 0</nowiki>
note: /dev/sda1 should correspond to usb drive you want to map, pi = user that will own the drieve<br />
+
note: /dev/sda1 should correspond to usb drive you want to map, pi = user that will own the drieve. umask sets the permissions (substract from 7 the chmod octal value (to set rwx use 0...)<br />
 
4. reboot Raspberry and check if the usb mounts correctly with lsblk<br />
 
4. reboot Raspberry and check if the usb mounts correctly with lsblk<br />
 
5. For each repository:<br />
 
5. For each repository:<br />

Navigation menu