2018年9月19日 星期三

2018年7月31日 星期二

Embedded System Flash容量大及使用空間少時,掛載時間長

如果使用JFFS2 file system,
JFFS2 mount時需掃描整個文件系統,導致速度降低。
文件系統接近滿時,因garbage collection問題也會導致速度降低。

YAFFS2
提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完整性


YAFFS2
YAFFS意為「Yet Another Flash File System」,是目前唯一一個專門為NAND Flash設計的文件系統。它採用了類日誌結構,結合NAND Flash的特點,提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完


原文網址:https://read01.com/oOLjnD.html
YAFFS2
YAFFS意為「Yet Another Flash File System」,是目前唯一一個專門為NAND Flash設計的文件系統。它採用了類日誌結構,結合NAND Flash的特點,提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完


原文網址:https://read01.com/oOLjnD.html
YAFFS2
YAFFS意為「Yet Another Flash File System」,是目前唯一一個專門為NAND Flash設計的文件系統。它採用了類日誌結構,結合NAND Flash的特點,提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完


原文網址:https://read01.com/oOLjnD.html
YAFFS2
YAFFS意為「Yet Another Flash File System」,是目前唯一一個專門為NAND Flash設計的文件系統。它採用了類日誌結構,結合NAND Flash的特點,提供了損耗平衡和掉電保護機制,可以有效地避免意外掉電對文件系統一致性和完


原文網址:https://read01.com/oOLjnD.html

2018年4月30日 星期一

新增Linux設備(mknod)

Usage: mknod [OPTION]... NAME TYPE [MAJOR MINOR]
Create the special file NAME of the given TYPE.

Mandatory arguments to long options are mandatory for short options too.
  -m, --mode=MODE    set file permission bits to MODE, not a=rw - umask
  -Z, --context=CTX  set the SELinux security context of NAME to CTX
      --help     display this help and exit
      --version  output version information and exit

Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they
must be omitted when TYPE is p.  If MAJOR or MINOR begins with 0x or 0X,
it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal;
otherwise, as decimal.  TYPE may be:

  b      create a block (buffered) special file
  c, u   create a character (unbuffered) special file
  p      create a FIFO

NOTE: your shell may have its own version of mknod, which usually supersedes
the version described here.  Please refer to your shell's documentation
for details about the options it supports.