LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 07-13-2011, 04:51 AM   #1
elonica.pl
LQ Newbie
 
Registered: Jun 2011
Posts: 21

Rep: Reputation: Disabled
JFFS2 - file system size question


Hi,

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.

BR

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

Rep: Reputation: 88
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.
  


Reply


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 06:18 AM
Read and Write a JFFS2 file system from WIndows PC xenorealm Linux - General 2 12-15-2010 07:39 PM
Any good software to produce file system tree and file size report? ginda Linux - General 1 06-23-2009 05:50 AM
Create a jffs2 file system on a CF card with fc7? tigerhk89 Linux - General 0 03-27-2009 02:27 PM
file system size larger than fysical size:superblock or partition table corrupt klizon Linux - General 0 06-18-2004 05:18 PM


All times are GMT -5. The time now is 08:30 PM.

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