We have a device (actually two of them) running Debian 8.4, largely preconfigured by the vendor. There is a slot for an SD card, which (if present) is automatically mounted at boot.
Question is: after I manually unmount the card in order to fsck it, how can I mount it again? I can manually mount it again, but since it was mounted automatically at boot, it seems to me there should be a way to make the system mount it the same way again. I can simply reboot the system, but that doesn't seem an optimal solution.
systemctl | grep mmc includes this:
media-sd\x2dmmcblk0p1.mount loaded active mounted /media/sd-mmcblk0p1
it seems to me it was systemd that mounts the card at boot. But after
umount that entry disappears. Systemd still is largely a mystery to me, so that knowledge doesn't help me much.
Edit: I forgot to say: there's nothing about the SD card in /etc/fstab
Edit: After boot,
systemctl status 'media-sd\x2dmmcblk0p1.mount' says:
? media-sd\x2dmmcblk0p1.mount - /media/sd-mmcblk0p1 Loaded: loaded (/proc/self/mountinfo) Active: active (mounted) since Fri 2016-04-15 11:47:52 UTC; 3h 2min ago Where: /media/sd-mmcblk0p1 What: /dev/mmcblk0p1
umount, it says:
? media-sd\x2dmmcblk0p1.mount Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
systemctl cat 'media-sd\x2dmmcblk0p1.mount' says nothing in both cases.