linux - How to interpret /proc/mounts? -


when following.

"cat /proc/mounts". tmpfs /export/ftp/import tmpfs rw,relatime,size=102400k 0 0 tmpfs /export/ftp/export tmpfs rw,relatime,size=10240k,mode=755 0 0 

the documentation of embedded device said import , export located in dram

however in other equipment

ubi18_0 /nvdata1/temporary-download ubifs rw,sync 0 0 ubi18_0 /export/ftp/import ubifs rw,sync 0 0 ubi18_0 /export/http/import ubifs rw,sync 0 0 tmpfs /export/ftp/export tmpfs rw,size=10240k,mode=755 0 0 

the documentation of embedded device said import located in nand , export located in dram.

i not know resides in dram, nand, nor.

the basic knowledge have in our equiment nor has u-boot. nand has kernel , rootfs.

format of /proc/mounts

the 1st column specifies device mounted.
2nd column reveals mount point.
3rd column tells file-system type.
4th column tells if mounted read-only (ro) or read-write (rw).
5th , 6th columns dummy values designed match format used in /etc/mtab.


tmpfs /export/ftp/import tmpfs rw,relatime,size=102400k 0 0 tmpfs /export/ftp/export tmpfs rw,relatime,size=10240k,mode=755 0 0 

meaning : 2 independent tmpfs-es mounted @ both /export/ftp/import , /export/ftp/export. data stored these directories lost upon rebooting kernel. tmpfs ramdisk-like construct stores data in ram. technically speaking tmpfs mapped virtual memory uses ram , swap (if present).


ubi18_0 /nvdata1/temporary-download ubifs rw,sync 0 0 ubi18_0 /export/ftp/import ubifs rw,sync 0 0 ubi18_0 /export/http/import ubifs rw,sync 0 0 tmpfs /export/ftp/export tmpfs rw,size=10240k,mode=755 0 0 

meaning : same "partition" on nand device (ubi18_0) mounted @ 3 different mount-points. ubi intermediate file-system layer simplifies , optimises i/o underlying flash media devices. temporary filesystem mounted @ /export/ftp/export.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -