Off-Topic > Off-Topic - Tiny Tux's Corner
problem mounting tmpfs
tinypoodle:
Ok, to find out more, you could first read kernel docs and then google for the following filesystems involved: "initramfs" "rootfs" "tmpfs" (ramfs is related but not used in TC).
Booting with 'syslog' and then examine /var/log/messages could give you some insight about what is happening.
Resources are freed after switch_root has been executed.
IIRC - it is a long time - when booting from initial ramdisks, they used to end up being mounted on some mountpoint on the root fs by default or at least in some cases.
wysiwyg:
--- Quote from: tinypoodle on January 07, 2011, 03:16:49 PM ---Resources are freed after switch_root has been executed.
--- End quote ---
So would it be ok to umount the rootfs since it's no longer being used? Currently both TC and my distro (since I'm cloning parts of TC) both have two root mounts / (one rootfs and one tmpfs). Since I sized my tmpfs partition way down from 90%, I can see that the / tmpfs is the one that actually should be used as it reports the correct size while the / rootfs still shows the 90%.
tinypoodle:
i would bet you would never be able to umount rootfs.
wysiwyg:
--- Quote from: tinypoodle on January 07, 2011, 04:54:30 PM ---i would bet you would never be able to umount rootfs.
--- End quote ---
I bet you're right. There's no UUID or anything specific about that mount that can be targeted for umount is there? Obviously, a "umount /" wouldn't work... :)
Navigation
[0] Message Index
[*] Previous page
Go to full version