On 19/04/2023 16:16, David Christensen wrote:
On 4/18/23 20:16, Stefan Monnier wrote:
You can also do
mount --bind / /mnt
and then look at /mnt/tmp.
No need to reboot into single-user mode for that.
+1 I like that better than the reboot/ live drive idea I posted.
I think, it is the case when reboot is safer. Open file descriptors
remain on the original partition. However I do not expect that single
user mode or booting from live image is required. Just restore original
/etc/fstab and reboot.
Perhaps update-initramfs is necessary after restoring of /etc/fstab in
any chosen approach.