Skip to main content
added 8 characters in body
Source Link
maxim
  • 31
  • 4

Credits to Mark, and here is how I did it, this is my /etc/fstab:

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p6  /boot           vfat    defaults          0       2
/dev/mmcblk0p7  /               ext4    defaults,noatime  0       1
/dev/sda1       /media/pi/USB   ext4    defaults,rw       0       3
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

I've just added the line that starts with /dev/sda1. What I've read on forums is that it is important to keep in mind that you can apply the trick above only when you are using 1 USB storage device. When you have multiple, you have to work with UUID's. It's well explained here.

Oh and for an explanation of the different columns you see in my code you can check here.

Credits to Mark, and here is how I did it, this is my /etc/fstab:

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p6  /boot           vfat    defaults          0       2
/dev/mmcblk0p7  /               ext4    defaults,noatime  0       1
/dev/sda1       /media/pi/USB   ext4    defaults,rw       0       3
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

I've just added the line that starts with /dev/sda1. What I've read on forums it is important to keep in mind that you can apply the trick above only when you are using 1 USB storage device. When you have multiple, you have to work with UUID's. It's well explained here.

Oh and for an explanation of the different columns you see in my code you can check here.

Credits to Mark, and here is how I did it, this is my /etc/fstab:

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p6  /boot           vfat    defaults          0       2
/dev/mmcblk0p7  /               ext4    defaults,noatime  0       1
/dev/sda1       /media/pi/USB   ext4    defaults,rw       0       3
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

I've just added the line that starts with /dev/sda1. What I've read on forums is that it is important to keep in mind that you can apply the trick above only when you are using 1 USB storage device. When you have multiple, you have to work with UUID's. It's well explained here.

Oh and for an explanation of the different columns you see in my code you can check here.

Credits to Mark, and here is how I did it:

, this is my pi@raspberrypi:/media/pi/USB/Logs $ cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p6 /boot vfat defaults 0 2
/dev/mmcblk0p7 / ext4 defaults,noatime 0 1
/dev/sda1 /media/pi/USB ext4 defaults,rw 0 3
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
pi@raspberrypi:/media/pi/USB/Logs $
:

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p6  /boot           vfat    defaults          0       2
/dev/mmcblk0p7  /               ext4    defaults,noatime  0       1
/dev/sda1       /media/pi/USB   ext4    defaults,rw       0       3
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

II've just added the line that starts with /dev/sda1. What II've read on forums andit is important to keep in mind is that you can apply thisthe trick above only when you only putare using 1 usb in yourUSB storage device. When you have multiple, you have to work with that UUIDUUID's. It's well explained here.

Oh and for an explanation of the different columns you see in my code you can check here.

Credits to Mark, and here is how I did it:

pi@raspberrypi:/media/pi/USB/Logs $ cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p6 /boot vfat defaults 0 2
/dev/mmcblk0p7 / ext4 defaults,noatime 0 1
/dev/sda1 /media/pi/USB ext4 defaults,rw 0 3
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
pi@raspberrypi:/media/pi/USB/Logs $

I just added the line that starts with /dev/sda1. What I read on forums and is important to keep in mind is that you can apply this trick above when you only put 1 usb in your device. When you have multiple, you have to work with that UUID. It's well explained here.

Oh and for an explanation of the different columns you see in my code you can check here.

Credits to Mark, and here is how I did it, this is my /etc/fstab:

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p6  /boot           vfat    defaults          0       2
/dev/mmcblk0p7  /               ext4    defaults,noatime  0       1
/dev/sda1       /media/pi/USB   ext4    defaults,rw       0       3
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

I've just added the line that starts with /dev/sda1. What I've read on forums it is important to keep in mind that you can apply the trick above only when you are using 1 USB storage device. When you have multiple, you have to work with UUID's. It's well explained here.

Oh and for an explanation of the different columns you see in my code you can check here.

Source Link
maxim
  • 31
  • 4

Credits to Mark, and here is how I did it:

pi@raspberrypi:/media/pi/USB/Logs $ cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p6 /boot vfat defaults 0 2
/dev/mmcblk0p7 / ext4 defaults,noatime 0 1
/dev/sda1 /media/pi/USB ext4 defaults,rw 0 3
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
pi@raspberrypi:/media/pi/USB/Logs $

I just added the line that starts with /dev/sda1. What I read on forums and is important to keep in mind is that you can apply this trick above when you only put 1 usb in your device. When you have multiple, you have to work with that UUID. It's well explained here.

Oh and for an explanation of the different columns you see in my code you can check here.