I just went into /etc/fstab
(Linux) and changed my line for /tmp
(on which a specific ext4
partition was previously mounted) to tmpfs
. This was clearly a bit silly, but I wasn't thinking. Anyway, I rebooted, and everything is working and all, but I'm confused about the following.
When issuing mount
I see this:
/dev/sda8 on /tmp type tmpfs
Does this mean that /dev/sda8
is mounted as tmpfs
? If there were any files in /tmp
, I can't access them any more, but I can create files in there. When I reboot, mounting as ext4
I can see that there were in fact files on the partition (that weren't visible when tmpfs
was mounted).
Is the device file meaningless in this context?