Skip to content
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

bcachefs, max lenght file name, max partition size, max file size aso. #733

Open
Nihon-Ryori opened this issue Aug 24, 2024 · 1 comment

Comments

@Nihon-Ryori
Copy link

The follow data of open source bcachefs file system ...

Which characters are not allowed when naming directories and files, p.e "/" or "\ / : * ? " < > |" ?

max lenght file name: 255 caracter (255 Bytes) ?
max partition size: 16 EiB ?
max file size: 16 EiB ?
max count of files:
supports journaling for metadata ?
supports journaling for data ?

... are unknown and still not public on follow and other sources:

@BlueMax
Copy link

BlueMax commented Aug 30, 2024

max lenght file name

512 chars. Only Reiserfs or HAMMER can beat this.

#!/bin/bash
set -e
start=500
end=520
[[ "${start}" -lt "6" ]] && exit 1
[[ "${start}" -gt "${end}" ]] && exit 2
for ((i=start; i<=end; i++)); do
	touch "$(printf "%05d" ${i})$(head -c $((${i}-5)) /dev/zero | tr '\0' 'a')"
done

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

No branches or pull requests

2 participants