Because I tend to forget this is a simple way of mount a USB drive in Raspbian. Remember we are working with FAT/FAT32 formatted drive and permissions are handled differently in the case of a FAT drive permissions are not supported . First we need to find out how the system views our drive and partitions .
1 | pi@raspberrypi:/mnt/usb $ ls /dev/sd\* |
Create a mount point for the drive .
1 | sudo mkdir /mnt/usb |
Now that we know our drive is /dev/sda and the partition is /dev/sda1 we can proceed to mount . By making use of umask=000 we allow read, write and execute for all .
1 | sudo mount /dev/sda1 /mnt/usb -o umask=000 |
Once mounted you can view the newly mounted drive and start writing to it .
1 | pi@raspberrypi:/mnt/usb $ df -h |
— Jan 23, 2017