When i do the 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 that import and export are 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 that import is located in NAND and export are located in DRAM.
I really do not know what resides in DRAM, NAND, NOR.
The basic knowledge i have in our equiment is that NOR has u-boot. NAND has kernel and rootfs.
The /proc/mounts file lists the status of all currently mounted file systems in a format similar to fstab: the system's name, mount point, file system type, etc. It is actually not a real file, but part of the virtual file system that represents the status of mounted objects as reported by the Linux kernel.
The proc file system is the process information pseudo-filesystem that the kernel uses to provide status information about the status of the system.
The /etc/mtab file is the list of mounted file systems it is maintained by the mount and unmount programs. It's format is similar to the fstab file The columns arw. device the device or remote filesystem that is mounted. mountpoint the place in the filesystem the device was mounted.
/proc/mounts
The 1st column specifies the device that is mounted.
The 2nd column reveals the mount point.
The 3rd column tells the file-system type.
The 4th column tells you if it is mounted read-only (ro) or read-write (rw).
The 5th and 6th columns are dummy values designed to match the format used in /etc/mtab
.
More details on filesystem mount-points are available here.
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 : Two independent tmpfs-es are mounted at both /export/ftp/import
and /export/ftp/export
. Any data stored into these directories is lost upon rebooting the kernel. tmpfs is essentially a ramdisk-like construct that stores data in the RAM. Technically speaking tmpfs is mapped into virtual memory which uses RAM and 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 : The same "partition" on the NAND device (ubi18_0
) is mounted at 3 different mount-points. ubi is a intermediate file-system layer that simplifies and optimises I/O with the underlying flash media devices. Also a temporary filesystem is mounted at /export/ftp/export
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With