From: Scott Lovenberg <scott.lovenberg@gmail.com>
To: "Jörn Engel" <joern@logfs.org>
Cc: Peter Teoh <htmldeveloper@gmail.com>,
kernelnewbies <kernelnewbies@nl.linux.org>,
linux-fsdevel@vger.kernel.org, ext3-users@redhat.com
Subject: Re: "Write once only but read many" filesystem
Date: Mon, 24 Mar 2008 00:49:17 -0400 [thread overview]
Message-ID: <47E732CD.3070202@gmail.com> (raw)
In-Reply-To: <20080322165906.GC19347@logfs.org>
Jörn Engel wrote:
> On Sat, 22 March 2008 23:55:53 +0800, Peter Teoh wrote:
>>> Or do you want individual files/directories to be immutable - chattr?
>> chattr is not good enough, as root can still modify it. So if
>> current feature is not there, then some small development may be
>> needed.
>>
>>> And in either case, what problem do you want to solve with a read-only filesystem?
>> Simple: i want to record down everything that a user does, or a
>> database does, or any applications running - just record down its
>> state permanently securely into the filesystem, knowing that for sure,
>> there is not way to modify the data, short of recreating the
>> filesystem again. Sound logical? Or is there any loophole in this
>> concept?
>
> The loophole is called root. In a normal setup, root can do anything,
> including writing directly to the device your filesystem resides in,
> writing to kernel memory, etc.
>
> It may be rather inconvenient to change a filesystem by writing to the
> block device, but far from impossible. If you want to make such changes
> impossible, you are facing an uphill battle that I personally don't care
> about. And if inconvenience is good enough, wouldn't chattr be
> sufficiently inconvenient?
>
> Jörn
>
How about mounting an isofs via loopback? This has the added benefit of
being ready to be exported to disc. You can make it with mkisofs on a
directory structure and mount it to the tree with a normal mount(1). If
it asks for fs type on mount, I think its 'iso9660'.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-03-24 4:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 16:17 filesystem differentiation Peter Teoh
2008-03-14 23:24 ` Andreas Dilger
2008-03-22 4:39 ` "Write once only but read many" filesystem Peter Teoh
[not found] ` <20080322102331.GA19347@logfs.org>
[not found] ` <804dabb00803220752h670757d8o9c1b7fa3696467bc@mail.gmail.com>
[not found] ` <20080322150626.GB19347@logfs.org>
2008-03-22 15:55 ` Peter Teoh
2008-03-22 16:59 ` Jörn Engel
2008-03-24 4:49 ` Scott Lovenberg [this message]
2008-03-24 6:35 ` Peter Teoh
-- strict thread matches above, loose matches on Subject: below --
2008-03-24 6:45 Peter Teoh
2008-03-24 16:56 ` Bryan Henderson
2008-03-25 0:47 ` Peter Teoh
2008-03-25 15:22 ` Matthew Wilcox
2008-03-25 18:42 ` Bryan Henderson
2008-03-25 18:32 ` Bryan Henderson
2008-03-26 2:27 ` Peter Teoh
2008-03-26 16:49 ` Bryan Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47E732CD.3070202@gmail.com \
--to=scott.lovenberg@gmail.com \
--cc=ext3-users@redhat.com \
--cc=htmldeveloper@gmail.com \
--cc=joern@logfs.org \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).