Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 07-13-2011, 03:51 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 21

Rep: Reputation: Disabled
JFFS2 - file system size question


I'm preparing JFFS2 file system with the command:
mkfs.jffs2 -n -r 'my folder' -e 64 -o jffs2.bin
I have 1 file in 'my folder'. Created jffs2.bin has ~60kB.
Then I write jffs2.bin into my /dev/mtd5.
My /dev/mtd5 area is 14 MB.

How does it work afterwards.
- will JFFS2 automatically use the rest of the /dev/mtd5 when I copy new files into it?
- Can I create jffs2.bin from empty folder ? Is JFFS2 going to use all available space in /dev/mtd5 ?

Than you for any hints.


Last edited by; 07-14-2011 at 02:24 AM.
Old 07-18-2011, 03:51 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,496

Rep: Reputation: 136Reputation: 136
You create a file system on MTD5 partition. So it will use all space on the partition. If you want less, create a smaller partition.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reduce size of rootfs.jffs2 sumiram Linux - Software 0 01-28-2011 05:18 AM
Read and Write a JFFS2 file system from WIndows PC xenorealm Linux - General 2 12-15-2010 06:39 PM
Any good software to produce file system tree and file size report? ginda Linux - General 1 06-23-2009 04:50 AM
Create a jffs2 file system on a CF card with fc7? tigerhk89 Linux - General 0 03-27-2009 01:27 PM
file system size larger than fysical size:superblock or partition table corrupt klizon Linux - General 0 06-18-2004 04:18 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration