Code: Select all
/dev/sda1Code: Select all
pi@raspberrypi:/dev $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.0G 3.6G 2.2G 62% /
devtmpfs 214M 0 214M 0% /dev
tmpfs 218M 0 218M 0% /dev/shm
tmpfs 218M 9.8M 208M 5% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 218M 0 218M 0% /sys/fs/cgroup
/dev/mmcblk0p6 63M 20M 44M 32% /boot
tmpfs 44M 0 44M 0% /run/user/1000
/dev/mmcblk0p5 30M 444K 28M 2% /media/pi/SETTINGS
/dev/sda1 15G 294M 14G 3% /media/pi/USB
tmpfs 44M 0 44M 0% /run/user/1002
pi@raspberrypi:/dev $I then have to unmount \dev\sda1, remove the automatically created folder 'USB1' folder and create a 'USB' folder again to see my files again. I also lose all the permissions I've set on folders and files previously in /media/pi/USB.
I thought I had to unmount the usb first (/dev/sda1) before sending the reboot command. But that didn't resolved the problem. Again my path changed to /media/pi/USB1.
I'm novice to Linux. So every information is welcome. Should I for example read the fstab man pages? Is it there that I have to change settings?
Code: Select all
Disk /dev/sda: 14.9 GiB, 15996026880 bytes, 31242240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 31242239 31240192 14.9G 83 LinuxCode: Select all
pi@raspberrypi:/dev $ cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p6 /boot vfat defaults 0 2
/dev/mmcblk0p7 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
pi@raspberrypi:/dev $