* "add only" fs
@ 2001-06-12 10:14 Fabrizio Pollastri
2001-06-12 10:23 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Fabrizio Pollastri @ 2001-06-12 10:14 UTC (permalink / raw)
To: linux-mtd
Hello,
a common problem in embedded systems is to log important data in a way
safe against power failure and software bugs.
The question is: may be jffs2 the right place to introduce an "add only"
protection? It can be at partition level, in such a way that mounting
that
partition as "add only" I am protected against loss of data, because I
can only create new files and/or append data to existing files and never
delete or truncate a file unless the partition is remounted rw.
Best regards,
Fabrizio Pollastri.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "add only" fs
2001-06-12 10:14 "add only" fs Fabrizio Pollastri
@ 2001-06-12 10:23 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-06-12 10:23 UTC (permalink / raw)
To: Fabrizio Pollastri; +Cc: linux-mtd
pollastri@iriti.cnr.it said:
> a common problem in embedded systems is to log important data in a way
> safe against power failure and software bugs. The question is: may be
> jffs2 the right place to introduce an "add only" protection? It can be
> at partition level, in such a way that mounting that partition as "add
> only" I am protected against loss of data, because I can only create
> new files and/or append data to existing files and never delete or
> truncate a file unless the partition is remounted rw.
JFFS2 _has_ to move data around, even data which haven't changed. If you
want 100% guarantees (or as close as possible) that some parts can't
change, put them in a separate partition which you mount readonly.
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-12 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-12 10:14 "add only" fs Fabrizio Pollastri
2001-06-12 10:23 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox