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

Config cdrom_path entry only reads up to 255 characters in that line #17

Open
IAmTrial opened this issue Aug 13, 2024 · 1 comment
Open

Comments

@IAmTrial
Copy link

The config entry only reads the first 255 characters in that line. This includes the name of the entry cdrom_path and the = character, effectively leaving at most only 244 characters available to specify the list of paths. There is no warning for this, which has lead to confusion.

This is because the config reader is set up to only read up to 255 characters (plus null char) per line. In a scenario where longer file paths may be used, and multiple discs are needed for a particular install, there is not a lot of room to add more disks. I am proposing to increase the character limit per line (taking into account that the image_list character limit is 4095 plus null char), and/or to warn whenever a line is too long.

Current workaround is to use shorter paths to files and shorter filenames.

@vadosnaprimer
Copy link

Makes sense.

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