Skip to content

Conversation

@drebrez
Copy link

@drebrez drebrez commented Jan 11, 2018

As mentioned in #71, here is the implementation to support reading the long file names in the FAT partition.

I manually tested all the possible use cases that came to my mind, and everything works fine.

About handling the writing of LFN, the current FAT project already have the _fatVariant which handles the differences between FAT12/FAT16/FAT32.
By default FatFileSystem.FormatPartition creates a FAT16 variant (see here). And he only variant not supporting the LFN it's the FAT8.

So IMHO it's not really necessary to have a separate project to handle the writing of the VFAT, but should be the currect project to be extended further.

Let me know what you think about it.

@drebrez
Copy link
Author

drebrez commented Oct 2, 2018

any comment on this?

@Thealexbarney
Copy link

It would be very helpful if DiscUtils supported FAT32 long names for reading and writing because the file system is so widely used.
It seems a little odd that NTFS appears to have read/write support while FAT32's is lacking.

@Thealexbarney
Copy link

This PR has a bug where the long name isn't used if the name has a . at index 8

@ddhall
Copy link

ddhall commented Oct 29, 2020

How do I access the code from this branch?

@qmfrederik
Copy link
Contributor

This PR has a bug where the long name isn't used if the name has a . at index 8

@Thealexbarney or @drebrez Anyone feels like fixing that bug (and perhaps adding a unit test)?

@drebrez
Copy link
Author

drebrez commented Apr 29, 2021

Unfortunately I'm not using this library anymore and I don't really have time to look into it.

@Thealexbarney feel free to take over the PR and fix the bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants