Skip to contentSkip to conversation

Fat64 / exFat fs and Linux

DISCUSSION A B 4 participants 10 messages Jan 29, 2009 – Dec 1, 2009 2 messages not in the archive

lore
Share & tools
lore

A B

author
#0 lore raw
Quoted 9 lines
Quoted 4 lines · OGAWA Hirofumi

A B <[email protected]> writes:
since Microsoft has now released their fat64 / exfat fs also for their 'stable' product line [1] and it seems to be the future choice for large capacity removable flash media, (...)

I wrote the driver for read-only exFAT driver at a few months ago. However, I'm not working for it actively, because I can't make time for it now.

Great! That sounds very promising.
Maybe you can post it to the list or on a webpage?

Cheers,
Max

#1 lore raw
Quoted 6 lines · A B
Quoted 6 lines
Quoted 4 lines · OGAWA Hirofumi

A B <[email protected]> writes:
since Microsoft has now released their fat64 / exfat fs also for their 'stable' product line [1] and it seems to be the future choice for large capacity removable flash media, (...)

Quoted 6 lines
Quoted 3 lines

I wrote the driver for read-only exFAT driver at a few months ago. However, I'm not working for it actively, because I can't make time for it now.

Great! That sounds very promising.
Maybe you can post it to the list or on a webpage?

Ok, I've put the patchset to,

http://userweb.kernel.org/~hirofumi/exfat/exfat.tar.gz

exfat/series is patch order to apply, and exfat/patches/* is patches.

It would be temporary place, well, anyway, this is my lastest version.

Thanks.

Signature · 1 line
OGAWA Hirofumi <[email protected]>
#3 lore raw
Quoted 4 lines · H. Peter Anvin
Quoted 3 lines · OGAWA Hirofumi

Ok, I've put the patchset to,

Quoted 8 lines
Quoted 6 lines

http://userweb.kernel.org/~hirofumi/exfat/exfat.tar.gz

exfat/series is patch order to apply, and exfat/patches/* is patches.

It would be temporary place, well, anyway, this is my lastest version.

Are there any non-sign-your-life-away specs to exFAT?

I don't know whether there is any specs. I've hacked it from the disk image created by Vista.

Thanks.

Signature · 1 line
OGAWA Hirofumi <[email protected]>
author
#4 lore raw
In reply to H. Peter Anvin
Quoted 9 lines · OGAWA Hirofumi

Ok, I've put the patchset to,

http://userweb.kernel.org/~hirofumi/exfat/exfat.tar.gz

exfat/series is patch order to apply, and exfat/patches/* is patches.

It would be temporary place, well, anyway, this is my lastest version.

Thanks for the code, I patched it into 2.6.28.2 and tried it on a 128MB USB volume filled with many files. The driver correctly read 73% of the files. Impressive. Looking at the others, they seemed to have what I would call 'alignment problems'.

md5sum: WARNING: 1008 of 3842 computed checksums did NOT match

Cheers,
Max

#5 lore raw
Quoted 9 lines · A B
Quoted 8 lines

Ok, I've put the patchset to,

http://userweb.kernel.org/~hirofumi/exfat/exfat.tar.gz

exfat/series is patch order to apply, and exfat/patches/* is patches.

It would be temporary place, well, anyway, this is my lastest version.

Quoted 6 lines

Thanks for the code, I patched it into 2.6.28.2 and tried it on a 128MB USB volume filled with many files. The driver correctly read 73% of the files. Impressive. Looking at the others, they seemed to have what I would call 'alignment problems'.

md5sum: WARNING: 1008 of 3842 computed checksums did NOT match

Thanks for testing. I see. What is the 'alignment problems'? Well, anyway, can I get the disk image of USB, or are there any way to reproduce it in my machine?

Or can you dump with hacked userland command (this can be buggy)?

http://userweb.kernel.org/~hirofumi/exfat/exfat-userland.tar.gz

$ tar xzf exfat-userland.tar.gz
$ cd exfat-userland
$ make
$ ./exfat /path/to/exfat_device > exfat.dump

And please send exfat.dump.

Well, if you can debug it with this userland command, it would be helpful. :)

Thanks.

Signature · 1 line
OGAWA Hirofumi <[email protected]>
#6 lore raw
Quoted 11 lines · OGAWA Hirofumi
Quoted 9 lines · A B
Quoted 8 lines

Ok, I've put the patchset to,

http://userweb.kernel.org/~hirofumi/exfat/exfat.tar.gz

exfat/series is patch order to apply, and exfat/patches/* is patches.

It would be temporary place, well, anyway, this is my lastest version.

Quoted 6 lines
Quoted 6 lines

Thanks for the code, I patched it into 2.6.28.2 and tried it on a 128MB USB volume filled with many files. The driver correctly read 73% of the files. Impressive. Looking at the others, they seemed to have what I would call 'alignment problems'.

md5sum: WARNING: 1008 of 3842 computed checksums did NOT match

I've updated the tarballs to fix the bug he found. If someone tried old tarballs, please download new tarballs and try.

http://userweb.kernel.org/~hirofumi/exfat/exfat.tar.gz

Thanks.

Signature · 1 line
OGAWA Hirofumi <[email protected]>
author
#7 lore raw
Quoted 9 lines

I've updated the tarballs to fix the bug he found. If someone tried old tarballs, please download new tarballs and try.

http://userweb.kernel.org/~hirofumi/exfat/exfat.tar.gz

Thanks.

Signature · 1 line
OGAWA Hirofumi 

I have tried the updates and it fixes all the problems I found initially. I tried it on a larger volume as well with files >4GB ('messed up' by copying many large files to it on XP at the same time) and it works well. (File integrity checked using md5sum).

I would like to see this exfat read-only driver included in a future linux kernel.

Thanks again for the replies and the prompt fixes! Cheers,
Max

#8 lore raw

On Sun, 1 Feb 2009 12:46:00 +0000 (GMT), I waved a wand and this message magically appears in front of A B:

Quoted 4 lines
Quoted 4 lines

I've updated the tarballs to fix the bug he found. If someone tried old tarballs, please download new tarballs and try.

http://userweb.kernel.org/~hirofumi/exfat/exfat.tar.gz

I have just converted your set of patches into a standalone module driver that you can build outside the kernel as long as you have a recent version of the kernel sources installed (currently 2.6.27).

The only modification I needed to make was to add an extern for sys_tz in utils.c (extern struct timezone sys_tz)

The bz2 tarball can be found at:
http://www.munted.org.uk/programming/exfat.tar.bz2

Regards,
Alex

Signature · 3 lines
http://www.munted.org.uk

Fearsome grindings.

A message that is not in the archive (sent off-list or not yet received): 473359.26476.qm@web258,<[email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#11 lore raw
Quoted 5 lines · Yuhong Bao
Quoted 2 lines

The bz2 tarball can be found at:
http://www.munted.org.uk/programming/exfat.tar.bz2

Both of these links are now dead. It was alive, I remember downloading it.

My most abject apologies, I hadn't noticed the files had disappeared from my website. I've just re-uploaded the files. Thanks for letting me know!

Regards,
Alex

Signature · 3 lines
http://www.munted.org.uk

One very high maintenance cat living here.