The brouhaha between Microsoft and Linux software vendor TomTom at the start of 2009 now seems - to Redmond at least - like a distant thunderclap. So much so that the firm spun out a program to licence the Extended File Allocation Table (exFAT) format yesterday. Microsoft said it had created a “flexible licensing program” for …
Why manufacturers buying FAT/exFAT instead of using free ext2,3,4 or similar ?
Because Microsoft will not implement it and will actively prevent it from being installed on Windows so that it can use it's userbase to leverage the sale of these licences.
...pretty obvious, but because Windows doesn't understand ext2,3,4 !! Neither does OS-X or most other Unix OS's as standard.
Unfortunately, FAT is the only file system that is universally accessible by pretty much anything. It's rubbish - yes. But until a new universal standard is defined that all manufacturers will stick to, it's the only format that makes sense for widespread use.
Also, for an embedded system (like a camera), FAT is relatively easy to implement.
Unfortunately because Microsoft won't support them in Windows - and when you plug in your "flash drive" device you want to be able to read/write without having to install 3rd party filesystem drivers.
Re: File systems
Jim 59 Posted Friday 11th December 2009 13:12 GMT --- WTF? Why manufacturers buying FAT/exFAT instead of using free ext2,3,4 or similar?
First of all, isn't ext2,3,4 proprietary to Linux because of the licensing? (i.e. licensing restrictions will not offer it to work efficiently under Windows, MacOSX, AIX, Solaris, OS-9, etc. systems?)
Vendors, who want to compile ext* capability into the kenel of their operating systems, will not be able to do so (without a FUSE type engine, only if it is available), leaving them with poorer performance over FAT, which can be licensed. This would especially be the case with video from these cards.)
If someone buys a flash card, plugs it into a camera, takes pictures - those pictures would be useless inside of other devices like picture frames, unless they are using the identical format on both sides. This drives the need for *FAT* or NTFS, again.
Since Microsoft owns most of the desktop market, these are the primary choices.
The closest thing to a universal file system, outside of FAT, is the old BSD UFS, which is universally available on under all OS's, with the exception of Windows - but I am uncertain of the compatibility.
ZFS offered some promise, being Open Source, available under Solaris, OpenSolaris, with a FUSE type of implementation under Linux, less restrictive licensing for commercial product vendors, and MacOSX support. Microsoft would be the last hold-out, in a ZFS world.
Now, with MacOSX support for ZFS shelved, the door for Microsoft is more widely opened.
Re: Re: File Systems
I don't think UFS is quite as universal as that is it? Hasn't it diverged a bit between the various unix implementations?
On the other hand, I don't think ext2fs is that restricted by licensing either, the source files in the NetBSD implementation are all licensed under a 4 clause BSD licence, so would be perfectly okay to use in non GPL friendly things.
However, for smaller discs (less of an issue now) and simpler devices the complexity of the FS compared to the simplicity of FAT may be a hindrance.
ext2 is not proprietary to Linux
You have to distinguish between a file system format, and an implementation of the format. The Linux implementations of ext2, 3, 4 are GPL'ed, but the format itself is completely open and anyone is free to write their own implementations under any license they want. For example, there are non-GPL'ed implementations of ext2 available for Windows, Macs, and some BSDs, as well as small read-only implementations in things like bootloaders.
exFAT is very different in that various features of the format are protected by patents (in non-free countries), and by missing documentation. MS's aim is that you cannot implement exFAT without licensing their code.
Windows has had Installable File System for ages http://www.microsoft.com/whdc/devtools/ifskit/default.mspx
An Ext2 driver is avalible from:- http://uranus.chrysocome.net/linux/ext2ifs.htm
To my knowledge Microsoft has never activley prevented 3rd parties from devloping and distributing IFS plugins, why would it provide the infrastructure in Windows, the DDK and supporting websites if it did not want people to use what is one of Windows killer features?
Does talking that talk give you some kind of thrill, to imagine a world of conspiracy, becuase the real world is so boring?
A typical Microsoft Chess move...
All their "standards" are not about interoperability, they are all about controlling the underlying software technology and so effectively taxing everyone who uses it. Its no wonder open source software evolved as a way to bypass these control freak companies who try this control and tax tactic.
Not like they have a choice
If you want to do smart wear levelling you have to recognise FAT and adjust your strategy accordingly. So not like they have a choice.
wear leveling in FAT?
so how do you level wear in a fixed-location FAT? It is precisely because of the FAT that the file-system (and I use the phrase without prejudice) is NOT a good idea for SSDs and other flash-based devices,
they could even licence it to themselves and incorporate support for it into windows XP?
No? ...Then i'll stick to using Fat so that i can actually use my usb drives to transfer files/data between different PC's.
You mean like they did 11 months ago?
Surely Linux isn't a dirty word!
And why not, surely all competition is dirty words, try iPhone, for instance. Nothing unnormal (un-normal un normal, how does who spell it) about it.
The unnormal thing is that companies like to stay with FAT, and pay for it.
A title is *not* required
>>Why manufacturers buying FAT/exFAT instead of using free ext2,3,4 or similar ?
Perhaps because windows doesn't have pre-installed drivers for ext2/3/4...
Why reinvent the wheel when for $300k you can have something that is automagically compatible with the vast majority of consumer electronic devices?
I think you have got your wording wrong here:
"its exFAT file system, which is the predecessor to the firm’s contentious FAT format"
exFAT is not the predecesssor to FAT. It is its successor.
It seems you fixed it while I was typing. :-)
Licensing a file system...
How, exactly, do you legally restrict the use of a filesystem*?
And aren't such practices slightly anti-competitive, to put it mildly?
[*] In sane, non-US jurisdictions.
Linux isn't a dirty word. Not this week anyway.
Todays dirty word is iPhone. Does nobody attend the sessions but me?
"un-normal un normal, how does who spell it"
I want my flash key...
... without micros~1 tax. They're as ubiquitous as government stupidity.
Stick to FAT for now
It's got no problems with SDHC cards and I'm betting that if these new devices support older SDHC then they'll support FAT on SDXC as well.
But yes, I too join the calls for another file system. A free one with no royalty agreements, then we can all get along. Doesn't have to be extX or anything else currently linux-associated, just available for all.
Otherwise MS are once again inserting themselves into the user's life, right in between their digital camera and whatever computer-like device they want to be able to use to read it. I don't want that, thanks all the same.
Time to go ZFS
With the extra resiliance benefits of ZFS even for a single volume, it makes sense to cut the apron strings from Microsoft.
For the licencing money being asked for, a driver to insert in to Windows should be a drop in the ocean to develop.
No real reason why not to do that. After all, if the industry are going to ever cut the apron strings, they're going to have to put Microsoft on the back foot some time.
ZFS is WAAAAAY too heavy for use in low powered consumer electronics. It would be serious overkill and given the hasty and sloppy code we have come to expect from the worlds many no-name OEMs the complexity of implementation would almost guarantee serious bugs, and you don't want serious bugs in your filesystem! A different format would be good but it shouldn't be this.
Of course MS would never permit this so we're stuck with it but, thinking more obliquely, How about a $300,000 fundraiser for kernel.org ???
Does the Xbox 360 support exFAT? Last time I checked it didn't support NTFS.
ext2 isn't proprietary
> First of all, isn't ext2,3,4 proprietary to Linux because of the licensing? (i.e. licensing restrictions will not offer it to work efficiently under Windows, MacOSX, AIX, Solaris, OS-9, etc. systems?)
Not at all, there are any number of Windows ports of Linux applications, Apache, Open Office etc. There's even an app out allready that provides native Windows support for ext2 .. http://www.fs-driver.org/
I was hoping somebody would confirm whether ext2/3/4 is truely open - I wasn't sure.
Now that you have, my solution to the problem is build into the firmware a tiny (standard) FAT partition that holds the ext2/3/4 drivers for Windows, and installs them if necessary, then have the main storage as an ext partition bypassing MS's tax. Kind of like those memory sticks that recognise as USB Mass Media and a CD-ROM device.
And does MacOS *really* not support ext? This post seems to imply they do:
Also, what happens to Linux with this? Say Fedora wants to support exFAT, who's going to pay? Is this considered a patent? (i.e. I'm in Europe, shove it up your arse?)
Too many questions, beer time.
EXT support in OSX...
AFAIK Apple do not officially support ext 2/3 natively at all. It is supported by FUSE (via MacFUSE) and there may be some other kernel extensions in the wild. OS X users are basically stuck with HFS+ of FAT32. exFAT remains unsupported on Macs and most other *NIXs.
Unrelated to your post AC, ZFS is dead in the water, as are many other Sun technologies, *until* Oracle's buy-out is completed, and when it is , can anyone see Oracle dropping *their* new filesystem (BtrFS)? I'm not suggesting that the technologies *aren't* being actively developed, just that the short and longer term futures are somewhat uncertain for some.
Thanks to Neil Stansbury and others. The answer to my original question was simply "because users want to plug TomToms etc. into Windows based PCs". I overlooked that admittedly obvious point, being a Linux user and owning few embedded items.
"supports up to 256TB of data"
I was going to comment that this figure sounded a bit short sighted given how fast storage needs grow but then I had a look and found that MS specifies that exFAT supports volumes up to 64ZB with 512TB recommended maximum (http://support.microsoft.com/kb/955704).
Where did MS pull the figure of 256TB from?
Humm...is this not the number of patents they claim that Linux is infringing? Or 235?
"Flash drive makers" or "Flash drive using device makers"
Since when has a flash drive cared what file system is being used on it?
Your flash drive doesn't much care but sadly your _camera_ does.
My XP has integrated EXT2. You'd not notice if an SD card/USB was FAT, FAT32 or EXT2 on it.
But it's not installed by default. About 95% of users have a flavour of Windows. A flat $300K is small beer to have your consumer device work automagically,
Actually EXT2 is fairly rubbish compared to FAT except has security descriptors. It's easily corrupted, hence EXt3, EXT4. NTFS is still superior to EXTn FX, but has about a 20Mbyte overhead and was not designed for Removable storage. Used to be if you formatted or Mounted a MO archiving optional disk with NTFS you had to shut down to be able to eject it!
MS would like to force everyone to license exFAT including Linux no doubt.
Getting Sandisk and others to use patented MS technology even if it is meaningless does preclude Linux and perhaps Apple from using "devices" licensed for use with Windows only.
It is going to be a while before a 512TB phob is going to available. But, Microsoft will claim a patent on the process just to eliminate use with Linux and Apple.
The only solution is to refuse to buy products from those vendors that license proprietary MS technology used primarily to preclude competitors.
Windows, Linux, and Mac all support UDF out of the box, right back to Windows 98.
Not sure why device manufacturers are reluctant to use it, unless they're scared of being the first one.
Why not ext3?
Because any journaled FS is out because the number of write operations is limited. ext2 would be a much better choice than FAT, but MS is pushing hard... the compatibility with windows PC is actually NOT a problem *at all* (with emphasis on _NOT AT ALL_). Virtually all flash-based systems come with their very own (generally crappy) software/drivers bundle, and Joe Bloggs just plugs its camera to its laptop using the provided usb cord. He probably doesn't even know that he could change the SD card.
Admittedly, for small storage devices (namely, USB sticks), said software/drivers bundles are usually stored on the stick itself, so it would need to be accessible from a windows computer on first connection, hence the need for an additional mini CD-ROM... or a small FAT partition somewhere. Everyone has licenses for FAT (and they probably shouldn't even need them in the first place), so it would be very easy.
Whew, 64ZB. That's more acceptable. I was beginning to worry about my available drive space... Now if I could just convince the companies to start pumping out the 20TB drives already and stop holding me by the curlies with their 2TB drives I could do something! You'd think that with close to 30TB of drive space I wouldn't have these issues... but live and learn...
Just have TomTom and other vendors include a Windows ext file system driver in their apps.
This is such an old file format. Why does Microsoft still get to make money from it?
I mean, 20 years isn't enough? When does it become public domain?
It would be nice if...
The US could join the (patent) free world sometime.
Not really much else to say on the FS front.
FAT isn't a particularly pleasant format, but you don't need super performance from most removable storage anyway and it's already widely available so may as well stick with it from that perspective. Just a shame about the licensing farce.
"Since when has a flash drive cared what file system is being used on it?"
I suppose people might quibble and say that trim isn't technically part of any particular file system, but it for sure has to be implemented in the file system/operating system/flash combination. Also, on a general point, there are some file systems which are more flash-friendly than others. File systems which can perform roll-up optimisations and avoid lots of tiny writes will perform better. File systems that don't automatically de-frag are more flash-friendly, file system which work in the units of flash pages. There are umpteen ways where flash can benefit from "flash aware" file and I/O systems.
Dan 55 posts, "Windows, Linux, and Mac all support UDF out of the box, right back to Windows 98. Not sure why device manufacturers are reluctant to use it, unless they're scared of being the first one."
Out of everything that I have read in this blog, this makes the most sense.
Is there a reason not to use UDF with flash or other portable media, that is not optical???
Really - you've gotta love patents and monopolies, haven't ya.
This is simple enough
This is part of a larger ongoing problem. The problem is hardware vendors have no balls. They are like the dancing bear that never turns on its tormentor.
Need for a universal encryption standard
The single most important feature of any new "universal" format for removable media is not that it should store infeasibly large volumes of data, but that it should support a universal encryption standard.
The present farce of needing to execute decryption software from e.g. a USB device is madness and poses integrity risks (remember Conficker) that are just as worrying as the confidentiality risks that encryption is intended to protect against.
Since the US patent system refuses to recognise the rest of the world patents, maybe it is time for the rest of the world to stand up to the USA and tell them to kiss their confederate butts and refuse to accept any US patents. The world's politicians are just too happy to bend over backwards for the US. Maybe a show of balls and a collective extended major finger is needed at this stage.
Lets not care about what the US or MS want, lets just use FAT or extFAT, maybe reverse engineer it and make the necessary 20% modification/improvement to avoid law suits. MS owes it to the world to use FAT and exFAT for free. They have ripped off just about all of "their" ideas from others.
this is true
Its a must to find a way to put a stop on the present state of things. Someone who has a massive world 95% quota can in theory break all kind of innovation as well as any competitor. It's just a matter of buying whatever suits, embrace it, patent it and tax it.
we are talking flash memory here for use in a lot of embedded application ( camera's , pictureframes etc ... )
there is multiple problems
- computing power is limited ... all these device run off batteries. the simpler the system is to implement in code the better
- no long filenames required.
- wear leveling : fat is very simple to accomodate wear-leveling wise. ntfs not so. extx and journaling : very hard ...
Fat is simple: find an empty spot , drop data , update pointer. if next block is unavailable : throw remainder in another empty blok and change link pointer. forget framentation. flash memory is 'transient' in this kind of devices anyway.
FAt is ideal to map on flash. Flash by definition uses a 'paging' mechanism. whenever you write to flash you have to perform a sector erase first. So even changing 1 byte in a sector requires a full sector read to buffer, sector erase and rewrite. poof there is your wear-leveling ...
in FAT you can specifiy the sector size. by using the exact same 'logical' sector size as the physical flash sector size you solve the bulk of the wear-leveling problem.
a sector is either empty or in use. The kind of devices they are targeting for exFAT do not perform bit or byte level accesses. They do bulk access. You find an empty sector and start writing. at the end of the sector you place the sector where the next block is written . And so on. when you are done you update a lookup table. In practice the real wear leveling needs only to be done for the actual File allocation table. that is the only element that sees byte level edits. In flash they do that by cycling the location of the table. The previous table is marked as 'old' and they simply write a complete new one. there are tally counters that keep track of which sectors have been accesses how many times. the flash controller uses that to decide where it will throw the next block.
Simply put : FAt may be a POS filesystem but it is very simple to implement and fits the way flash memory works in the first place. And no , flash was not developed with FAt in mind ...
- Mounties always get their man: Heartbleed 'hacker', 19, CUFFED
- Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
- Samsung Galaxy S5 fingerprint scanner hacked in just 4 DAYS
- Feast your PUNY eyes on highest resolution phone display EVER
- AMD demos 'Berlin' Opteron, world's first heterogeneous system architecture server chip