* JFFS
@ 2001-05-06 22:36 Jason Walker
0 siblings, 0 replies; 7+ messages in thread
From: Jason Walker @ 2001-05-06 22:36 UTC (permalink / raw)
To: MTD Mailing List
Ok, so what does it take to put jffs on a DOC? :)
I did a dd to my DOC...when it booted it said "no mtd devices found" and
didn't mount.. Does it lok for a different device?
Jason Walker
Network Engineer
US Wireless Online
www.uswo.net
^ permalink raw reply [flat|nested] 7+ messages in thread
* JFFS
@ 2001-10-23 14:39 David Mackay
2001-10-23 22:00 ` JFFS David Woodhouse
0 siblings, 1 reply; 7+ messages in thread
From: David Mackay @ 2001-10-23 14:39 UTC (permalink / raw)
To: linux-mtd
Hi,
Could someone shed some light on a difficulty we are
experiencing? We have an X86 board with 8meg of flash
and 16meg of RAM. As you can see from the df output
below most is mounted as / with a meg or so as /var
and a 2meg ram disk mounted as /var/tmp. However we
are finding that the df output differs substantially
from the actual usage, as you can see from the du on
the var directory tree we should only be using 132K
whereas df suggests 552K. We understand that the file
system itself will need a little space and on top of
that there will be some wastage. Indeed if we fill
/var up with files it does clean itself to an extent
but we are still some 40% short.
As we use /var for FIFO data storage on this system
(many 8-32K files) we need a reliable predictable free
space estimation in order to be able to maximise the
number of stored files before we delete to add new.
Therefore a better understanding of the inner workings
of JFFS would be appreciated.
arcom@ME /var$ du -s *
3 home
0 lock
0 log
129 me
0 run
34 tmp
arcom@ME /var$ df
Filesystem 1k-blocks Used Available
Use% Mounted on
/dev/root 5888 5524 364
94% /
/dev/mtdblock1 1152 552 600
48% /var
/dev/ram0 2011 52 1857
3% /var/tmp
arcom@ME /var$
Many thanks, David
____________________________________________________________
Nokia Game is on again.
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: JFFS
2001-10-23 14:39 JFFS David Mackay
@ 2001-10-23 22:00 ` David Woodhouse
2001-11-07 18:20 ` JFFS David Mackay
0 siblings, 1 reply; 7+ messages in thread
From: David Woodhouse @ 2001-10-23 22:00 UTC (permalink / raw)
To: David Mackay; +Cc: linux-mtd
monitoreurope@yahoo.co.uk said:
> As we use /var for FIFO data storage on this system (many 8-32K
> files) we need a reliable predictable free space estimation in order
> to be able to maximise the number of stored files before we delete to
> add new. Therefore a better understanding of the inner workings of
> JFFS would be appreciated.
We make stuff up in jffs2_statfs(). You may be able to improve it if you
include c->erasing_size in the calculation of 'avail', and you'll probably
want to include the size of the blocks on the erase_pending_list too.
--
dwmw2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: JFFS
2001-10-23 22:00 ` JFFS David Woodhouse
@ 2001-11-07 18:20 ` David Mackay
2001-11-07 18:40 ` JFFS David Woodhouse
0 siblings, 1 reply; 7+ messages in thread
From: David Mackay @ 2001-11-07 18:20 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd
--- David Woodhouse <dwmw2@infradead.org> wrote: >
> monitoreurope@yahoo.co.uk said:
> > As we use /var for FIFO data storage on this
> system (many 8-32K
> > files) we need a reliable predictable free space
> estimation in order
> > to be able to maximise the number of stored files
> before we delete to
> > add new. Therefore a better understanding of the
> inner workings of
> > JFFS would be appreciated.
>
> We make stuff up in jffs2_statfs(). You may be able
> to improve it if you
> include c->erasing_size in the calculation of
> 'avail', and you'll probably
> want to include the size of the blocks on the
> erase_pending_list too.
David,
Is there a method by which we could call the garbage
collection function on demand? I ask because our 1 meg
partion mounted as /var will be quite static as we
have a ram disk for transient info. Therfore we will
probably only do a write every 1 hour or so. It would
therfore pay us to link garbage collection with our
FIFO clean up.
David.
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: JFFS
2001-11-07 18:20 ` JFFS David Mackay
@ 2001-11-07 18:40 ` David Woodhouse
0 siblings, 0 replies; 7+ messages in thread
From: David Woodhouse @ 2001-11-07 18:40 UTC (permalink / raw)
To: David Mackay; +Cc: linux-mtd
monitoreurope@yahoo.co.uk said:
> Is there a method by which we could call the garbage collection
> function on demand? I ask because our 1 meg partion mounted as /var
> will be quite static as we have a ram disk for transient info.
> Therfore we will probably only do a write every 1 hour or so. It would
> therfore pay us to link garbage collection with our FIFO clean up.
You can make the GC thread wake up by sending it a SIGHUP. It'll only do
one operation and then sleep again, though.
What you probably want is a way to tune the thresholds which trigger GC.
--
dwmw2
^ permalink raw reply [flat|nested] 7+ messages in thread
* Jffs
@ 2004-09-29 13:28 lp4u
2004-09-29 15:32 ` Jffs Michael Moedt
0 siblings, 1 reply; 7+ messages in thread
From: lp4u @ 2004-09-29 13:28 UTC (permalink / raw)
To: MTD mailing list
Hi,
how to mount jffs on a NAND?
how to write a file in a NAND, using jffs?
what's a jffs image ?
Thanks,
Lorenzo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Jffs
2004-09-29 13:28 Jffs lp4u
@ 2004-09-29 15:32 ` Michael Moedt
0 siblings, 0 replies; 7+ messages in thread
From: Michael Moedt @ 2004-09-29 15:32 UTC (permalink / raw)
To: lp4u@inwind.it, MTD mailing list
> Hi,
>
> how to mount jffs on a NAND?
> how to write a file in a NAND, using jffs?
> what's a jffs image ?
>
Please go to linux-mtd.infradead.org, and follow the Documentation
links.
Mike
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-09-29 15:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-23 14:39 JFFS David Mackay
2001-10-23 22:00 ` JFFS David Woodhouse
2001-11-07 18:20 ` JFFS David Mackay
2001-11-07 18:40 ` JFFS David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2004-09-29 13:28 Jffs lp4u
2004-09-29 15:32 ` Jffs Michael Moedt
2001-05-06 22:36 JFFS Jason Walker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox