Questions tagged [jffs2]

JFFS2 is a log-structured file system for use with flash memory devices. Enforces wear levelling by treating the device as a circular log. Successor of JFFS.

Journalling Flash File System version 2 or JFFS2 is a log-structured file system for use with flash memory devices. It is the successor to JFFS. Part of Linux kernel since 2.4.10.

JSSF2 added support for sequential I/O memory devices like NAND (these cannot be memory-mapped for reading), hard links and compression.

See Wikipedia for more details.

34 questions
0
votes
2 answers

why jffs2 shows always 388KB as used space, through "df" command?

why jffs2 shows always 388KB as used space, through "df" command? I am having two mtd partitions, one of 640KB and another 1024KB. After erasing total flash, it shows 388KB as used space for both the cases always. Please help me, why it shows this…
0
votes
1 answer

mount jffs2 filesystem from /etc/fstab with user permissions

My rootfs is squashfs and I am trying to mount three JFFS2 partition on my flash device. But I want to set permissions for those partitions/directories. The requirement is /readerconfig is only accessible by user with id 1001. /platform is…
user1867459
  • 423
  • 2
  • 8
  • 27
0
votes
1 answer

When uploading big .pdf/.jpg files to jffs2 file system, fwrite() fails

When uploading big .pdf/.jpg files to jffs2 file system, fwrite() fails. My device is having 1024KB space, I am uploading .pdf file of 500KB. My program streams the upload to bytes and writes to jffs2 filesystem. The length given to fwrite() is not…
0
votes
1 answer

How to get real file offset in NAND by file name?

Using linux, I can use raw access to NAND or access to files through filesystem. So, when I need to know, where my file is really located in NAND, what should I do? I cannot found any utilities providing this feature. Moreover, I cannot detect any…
Konstantin Utkin
  • 478
  • 1
  • 5
  • 16
1 2
3