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

ntfsprogs/mkntfs: improve error when creating NTFS on a plain file #147

Open
wants to merge 1 commit into
base: edge
Choose a base branch
from

Conversation

Hi-Angel
Copy link

mkntfs is special among all other mkfs utilities in that it'd refuse to create an FS over a plain file (which is often needed for testing purposes). This might seem like an odd choice, but it has to do with how NTFS works, and the error is there to make sure things wouldn't go south for a user.

However, it lacked the explanation what exactly may be wrong, not to mention it also didn't mention that FS could be created by passing --force. Fix that.

Fixes: #145

mkntfs is special among all other mkfs utilities in that it'd refuse
to create an FS over a plain file (which is often needed for testing
purposes). This might seem like an odd choice, but it has to do with
how NTFS works, and the error is there to make sure things wouldn't go
south for a user.

However, it lacked the explanation what exactly may be wrong, not to
mention it also didn't mention that FS could be created by passing
`--force`. Fix that.

Fixes: tuxera#145
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.

mkfs.ntfs refuses to create FS in a file
1 participant