/etc/fstab entries are not auto-mounted on boot
Describe your issue
What's the expected behaviour?
Entries in /etc/fstab
should be automatically mounted on boot.
What's the current behaviour?
Entries in /etc/fstab
are not automatically mounted on boot, user must run sudo mount -a
in a terminal after startup.
How to reproduce your issue?
Add an SD card to the device, and add an /etc/fstab
entry for the SD card, and check that it works with sudo mount -a
. Then restart the device, and see that the SD card isn't mounted.
What device are you using?
Librem 5 Evergreen
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v21.06
-
v21.03
(supported until 2021-08-04)
On what environment did you encounter the issue?
Phone environments
- Phosh
- Plasma Mobile
- Sxmo
Other
- No environment
- GNOME
- KDE Plasma
- Kodi
- MATE
- Shelli
- Sway
- Weston
- Xfce4
- fbkeyboard
- i3wm
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Additional information
samuel@l5 ~ (master) $ cat /etc/fstab
# This file is *not* used to mount / or /boot.
# More information: https://postmarketos.org/fstab
UUID=<uuid> /home/samuel/Pictures ext4 defaults 0 2
samuel@l5 ~ (master) $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 275.2M 1 loop /var/lib/anbox/rootfs
sda 8:0 1 59.5G 0 disk
└─sda1 8:1 1 59.5G 0 part
mmcblk0 179:0 0 29.1G 0 disk
├─mmcblk0p1 179:1 0 120M 0 part /boot
└─mmcblk0p2 179:2 0 29G 0 part /var/lib/anbox/rootfs/data
/var/lib/anbox/rootfs/cache
/var/lib/docker
/
mmcblk0boot0 179:32 0 4M 1 disk
mmcblk0boot1 179:64 0 4M 1 disk
And dmesg
only shows mmcblk0p1
and mmcblk0p2
being mounted.