New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rules regarding maximum filename length are confusing, documentation could be improved #183

Closed
afiskon opened this Issue Jun 27, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@afiskon

afiskon commented Jun 27, 2016

Hello.

Recently I faced a strange problem with EncFS. You can find all the details here:

syncthing/syncthing#3338
syncthing/syncthing#3355

Long story short - according to encfs man page it should handle file names up to "approximately" 189 characters since underlying ext4 FS handles up to 255 characters (formula: 3*(N-2)/4). But in practice I couldn't create a file with name containing 145 characters. Syncthing developers and I couldn't figure out why.

I believe it's because by file name you mean absolute file name, but I'm not sure about it and it's not clear from the documentation. Perhaps you could give more details on what are limits on maximum file name length and absolute file name length.

@rfjakob

This comment has been minimized.

Show comment
Hide comment
@rfjakob

rfjakob Jul 22, 2016

Collaborator

The limit is 176 characters and I will fix up the man page.

Collaborator

rfjakob commented Jul 22, 2016

The limit is 176 characters and I will fix up the man page.

@aidan-fitz

This comment has been minimized.

Show comment
Hide comment
@aidan-fitz

aidan-fitz Jul 24, 2016

Is it because filenames are encoded in Base64? It would help if the man page stated that.

aidan-fitz commented Jul 24, 2016

Is it because filenames are encoded in Base64? It would help if the man page stated that.

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