After unmounting the Pi image I'm unable to open new gnome-terminal tab/window.
It fails with:
There was an error creating the child process for this terminal, getpt failed
piimg umount seems to delete following mount, responsible for the problem:
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
But I think it should only unmount:
devpts on /home/leblue/RPiimg/dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
remounting devpts (mount -t devpts devpts /dev/pts) fixes above problem, but several other mounts are missing afterwards in /etc/mtab:
diff'ing my mount output before and afterwards yields the following:
tmpfs on /dev/shm type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
After unmounting the Pi image I'm unable to open new gnome-terminal tab/window. It fails with:
There was an error creating the child process for this terminal, getpt failed
piimg umount seems to delete following mount, responsible for the problem: devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
But I think it should only unmount: devpts on /home/leblue/RPiimg/dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
remounting devpts (mount -t devpts devpts /dev/pts) fixes above problem, but several other mounts are missing afterwards in /etc/mtab:
diff'ing my mount output before and afterwards yields the following: