LWN.net Logo

Samsung's F2FS filesystem

Samsung's F2FS filesystem

Posted Oct 5, 2012 16:33 UTC (Fri) by yokem_55 (subscriber, #10498)
Parent article: Samsung's F2FS filesystem

This looks cool. But sadly, I don't think it will get any market traction unless they can get liberally licensed and easily installed & used Windows & MacOS filesystem drivers out. ...


(Log in to post comments)

Drivers

Posted Oct 5, 2012 16:38 UTC (Fri) by corbet (editor, #1) [Link]

It would not be surprising to see such drivers included directly on removable media devices. Windows users actually do things like install drivers from a random USB stick...

Drivers

Posted Oct 7, 2012 23:50 UTC (Sun) by efraim (subscriber, #65977) [Link]

Used to be true, but since Windows XP SP3 at least the default is not to run anything from removable media automatically. (without confirmation)

And when user interaction is required the chances of things going wrong increase dramatically. This cannot be called seamless experience.

Samsung's F2FS filesystem

Posted Oct 5, 2012 16:39 UTC (Fri) by danieldk (guest, #27876) [Link]

What about internal storage for embedded/mobile devices?

Samsung's F2FS filesystem

Posted Oct 5, 2012 16:46 UTC (Fri) by yokem_55 (subscriber, #10498) [Link]

There is definitely a solid use case there. But it won't be a replacement for in that use case vfat....

Samsung's F2FS filesystem

Posted Oct 5, 2012 16:56 UTC (Fri) by cesarb (subscriber, #6266) [Link]

Internal storage does not have to be VFAT, since it is only the embedded system itself which accesses it. For instance, recent Android uses IIRC ext4 for its internal storage.

Samsung's F2FS filesystem

Posted Oct 5, 2012 19:42 UTC (Fri) by k8to (subscriber, #15413) [Link]

I believe you two are in agreement modulo some idiosyncratic expression.

Samsung's F2FS filesystem

Posted Oct 5, 2012 23:05 UTC (Fri) by drag (subscriber, #31333) [Link]

> This looks cool. But sadly, I don't think it will get any market traction unless they can get liberally licensed and easily installed & used Windows & MacOS filesystem drivers out. ...

On Android 3 tablets and Android 4 phones it uses the MTD protocol to transfer files to and from embedded devices. So their devices are no longer dependent on having file systems that are compatible with non-Linux systems.

Samsung's F2FS filesystem

Posted Oct 6, 2012 0:43 UTC (Sat) by geofft (subscriber, #59789) [Link]

I also can't believe that faking up a FAT filesystem in memory and exposing that to the host would be terribly hard. (qemu has the read-only version of that with -hda fat:/path/to/something, and honestly saying that you get read-only support unless you install the right filesystem driver seems just fine to me.)

Samsung's F2FS filesystem

Posted Oct 8, 2012 9:51 UTC (Mon) by moltonel (guest, #45207) [Link]

The problem with that is that USB mass storage works (by specs) by giving direct access to the hardware. So direct that the device's OS (Android for example) needs to stop pretty much all activity to be sure to not touch the hardware at the same time as the computer's OS. That's why you can't do anything else (listen to music, etc) while your phone/player/etc is connected as a usb key.

If you want to fake a filesystem, you'll have to fake the USB hardware controlers below it first. And that's certainly trickyer.

MTP and iTunes allow concurrent access by the host and the guest, and that's arguably the only good thing about these protocols.

Samsung's F2FS filesystem

Posted Oct 8, 2012 13:11 UTC (Mon) by drag (subscriber, #31333) [Link]

Well you'd have to fake it with a emulated block device hosting fat32. It's sounds plausable, but a pain in the rear to do well.

MTD seems cleaner and if Linux support for MTD as a client didn't suck then I would be happy about it.

Samsung's F2FS filesystem

Posted Oct 12, 2012 0:42 UTC (Fri) by Comet (subscriber, #11646) [Link]

Calibre as a client has MTD support, for managing books on such devices; it's all GPL'd Python and runs on Linux.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds