Re: jffs2 doubts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 3, 2010 at 1:08 AM, Arun S <inbox1.arun@xxxxxxxx> wrote:
> Hi,
>  I have couple of doubts regarding jffs2 filesystem.
>
> 1. I've found instances of writing mtd partitions with dd (like dd
> if=rootfs.jffs2 of=/dev/mtd...) and another method is to use flash_erase
> /dev/mtd.. and then copying rootfs.jffs2 to /dev/mtd.. using cp command
> followed by sync. What is the difference between these two?.
cp uses buffered write.


> 2. How jffs2 works? I mean if my root partition is jffs2, if I access some
> files, is it accessed real-time from the flash device?
>
Yes. But there might be some caching involved(in buffered read/writes eg.cp).

>  OR
>
> Does the kernel uncompress the jffs2 partition and stores it in memory
> during boot and access it from there when a read request comes?
No

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux