This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2 questions with eCos


On Thu, Sep 29, 2005 at 05:48:40PM +0800, Steven_cheng wrote:
> Hi Andrew,
> 
>     When I create a directory with mkdir command, it retruns no space.
> So I want to create a image with some empty space.
> 
> Q1 : Can I generate a JFFS2  filesystem image with empty space ??
> for example,  data uses 1 MB and empty space 4MB image ??

Sure. Use the -pad=4194304 option to mkfs.jffs2
 
> Q2 : Can I generate a JFFS2  filesystem image with only empty space ??
> for example,  only epmty root directory with 5MB image ??

Sure. Again use the pad option.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]