From: Nicolas George <george@nsup.org>
To: linux-kernel@vger.kernel.org
Subject: Using kernel filesystems as userland libraries
Date: Mon, 24 Nov 2014 14:12:00 +0100 [thread overview]
Message-ID: <20141124131200.GA28582@phare.normalesup.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 659 bytes --]
Hi.
With the libraries present in e2fsprogs, it is possible to open a plain file
(or any other reasonable storage) as an EXT2 filesystem and manipulate files
inside it.
Is it possible to use the implementations in the kernel to do the same thing
with any supported normal filesystem?
Obviously, it is theoretically possible, but my question is whether it has
been done in practice. I suppose it would require writing userland
replacement for the kernel APIs (memory management, access to block devices,
scheduling) and either rebuilding the kernel source as userland code or
loading the modules directly.
Regards,
--
Nicolas George
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2014-11-24 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 13:12 Nicolas George [this message]
2014-11-25 7:35 ` Clemens Ladisch
2014-11-25 7:46 ` xun ni
2014-11-25 8:34 ` Richard Weinberger
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=20141124131200.GA28582@phare.normalesup.org \
--to=george@nsup.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®