Skip to content

ADDFILE should never make first block sparse#43

Merged
mach-kernel merged 2 commits intomach-kernel:masterfrom
inexorabletash:sparse0
Apr 7, 2025
Merged

ADDFILE should never make first block sparse#43
mach-kernel merged 2 commits intomach-kernel:masterfrom
inexorabletash:sparse0

Conversation

@inexorabletash
Copy link
Copy Markdown
Contributor

When checking if a file block can be sparse (i.e. not actually allocated on disk), ensure the test always fails for the first block of the file, as this would violate the ProDOS file system specification, and makes ProDOS-8 unhappy.

Additionally, when loading a volume, log if files are encountered that have sparse first blocks.

#42

inexorabletash and others added 2 commits July 22, 2024 08:33
When checking if a file block can be sparse (i.e. not actually
allocated on disk), ensure the test always fails for the first
block of the file, as this would violate the ProDOS file system
specification, and makes ProDOS-8 unhappy.

Additionally, when loading a volume, log if files are encountered
that have sparse first blocks.

mach-kernel#42
Copy link
Copy Markdown
Owner

@mach-kernel mach-kernel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pardon the delay, thank you! I will cut a new tag and upload bins when I get a spare moment or two 😸

@inexorabletash
Copy link
Copy Markdown
Contributor Author

Quick ping on this

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.

2 participants