Cc: Frank van Maarseveen <frankvm@...>, <viro@...>, Dave Kleikamp <shaggy@...>, Alan Cox <alan@...>, Linus Torvalds <torvalds@...>, Jamie Lokier <jamie@...>, Horst von Brand <vonbrand@...>, Adrian Bunk <bunk@...>, Hans Reiser <reiser@...>, Christoph Hellwig <hch@...>, fsdevel <linux-fsdevel@...>, Linux Kernel Mailing List <linux-kernel@...>, Alexander Lyamin aka FLX <flx@...>, ReiserFS List <reiserfs-list@...>
Eww. A shell/filemanager supporting fs images is one running program.
The fifo farm is one per file. Ouch.
This limitation apply to the kernel interface too. But you can
configure for an
arbitrary number of loop mounts anyway. The user will have to mount
using the correct tool - after that the door is opened for anything.
Even the kernel supported "cd into fs images" has problems. How should
the kernel know which files you want to support with mounting, and which
ones are the wast majority of plain files? A file manager doesn't
have to do this fully automatic, it can have a button/hotkey for "loop
mount this".
So the user will have to tell it what to do, but in a much easier way
than typing "mount -o loop . . . " The file manager can also ask for
encryption keys - something the kernel cannot do because it doesn't
know what user interface(s) is in use by the process that attempts the "cd".
There may be one interface (stdin, X) there may be both, i.e. something
started from an xterm can use both, there may be none, (the
web/ftp/file-server
got a request for something inside a encrypted fs image.)
And even if the kernel can figure out the correct user interface, do we
want it to contain an X client for asking for keys? :-/
Helge Hafting
-
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