LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rootfs and /dev/root on /? (https://www.linuxquestions.org/questions/linux-newbie-8/rootfs-and-dev-root-on-854626/)

littlebigman 01-06-2011 09:32 AM

rootfs and /dev/root on /?
 
Hello

Here's what "mount" says in a uClinux appliance:

Code:

rootfs on / type rootfs (rw)
/dev/root on / type yaffs (rw)
proc on /proc type proc (rw)
ramfs on /var/tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)

Does someone know why "/" is mounted twice?

And I'd like to double-check that the other entries, which don't contain a physical device as source are indeed just kernel data structures.

Thank you.

AlucardZero 01-06-2011 09:40 AM

The others are just kernel (or RAM)- mounted filesystems.

I'd like to know the answer to your first question too.

littlebigman 01-07-2011 06:13 AM

Thanks for the tip. Are those RAM-based filesystems created when compiling the kernel, and are those keywords, ie. reserved names? It seems like we could also use "none":

http://www.acryan.com/forums/viewtop...=3138&start=20

Google reports / mounted twice occuring with embedded Linux. Maybe it's necessary when using flash memory instead of a hard-disk.


All times are GMT -5. The time now is 04:31 AM.