On Wed, Sep 9, 2009 at 9:06 PM, Henrik
Hedberg<henrik.hedb...@innologies.fi> wrote:
>
>>> On ons, 2009-09-09 at 15:20 +0200, ext Henrik Hedberg wrote:
>
>>>>     Why is the ancient VFAT and fixed partitioning still used? Would it
>>>> be possible to partition eMMC into one big ext3 partition and just use
>>>> some kind of loopdevice or similar when exposing a part of it as an USB
>>>> storage in VFAT format? That way also the annoying "not mounted right
>>>> now" issue would be fixed, since an USB host and the device could use
>>>> the same files at the same time. I do not see technical limits, but
>>>> maybe someone should just code a relevant kernel module (the virtual
>>>> VFAT loopdevice ;) if that does not exist.
>>> Patches happily accepted!
>
> Kees Jongenburger wrote:
>
>> Perhaps samba or webdav or sshfs , mpd are possible without unmounting
>> the block device ? Also a virtual virtual fat implemented as fuse
>> really sounds like a crazy project.
>
>    Virtual virtual fat (or wfat now on ;) is what I had in my mind.
> However, I do not see FUSE as an solution here, because the problem is
> that the USB mass storage devices transfer pure sectors. Thus, data is
> not going through the Linux VFS.

You can use any file as "backing store" also a file. so you don't need
a real block device. but of course
you have to map block access to certain files and translate filename
in fat dir entries etc.
so g_filestorage -> /dev/fakeblockdevice -> fuse -> real file system

>
>    We need a block device that acts like a VFAT partition but reads and
> writes the actual data into a given directory (in any file system,
> actually). Yes, it really sounds crazy! ;)
if at all possible

Greetings
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to