HiI've come across mini_fo[1] for embedded devices. It overlays a r/w
filesystem
over a r/o one. You might be able to script the system to commit changed
files
(and not the deleted) from the mini_fo storage to the r/o partition somehow.
I
think it would be an even more ugly hack
than your idea tho, and there would
be a risk of filename collisions.
chattr no good, no?
-G
[1] http://www.denx.de/wiki/Know/MiniFOHome
2009/7/2 Rory Browne <rbmlist at gmail.com>
> Hello Folks
>> I'm looking for a filesystem-based solution to archive signed
> documents. The main requirement of this is that it be write-once, and
> that files once written cannot be deleted or changed.
>> After much googling, I'm considering a loop-back UDF filesystem, with
> the media stored as worm ( write once, read many ). The problem with
> this, is that from a user point of view, it allows them to delete, or
> modify files ( even though the original is still there, since the
> filesystem thinks it's on a write-once medium ). I'm considering
> countering this problem using a fuse-based filesystem which basicly
> refuses to delete or modify exisiting files, but it seems a bit of an
> ugly hack.
>> Does anyone know of any cleaner solution?
>> Rory
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!