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

Report error when trying to use uninitialized disk in device factory #1030

Open
vojtechtrefny opened this issue Mar 17, 2022 · 1 comment
Open

Comments

@vojtechtrefny
Copy link
Member

When using uninitialized disks the factory fails with not enough free space for new device because without a partition table we fail to find a free space for a new partition. We should report that the disk has no partition table and cannot be used because of this.

See #725 for RFE for supporting unpartitioned disks in the factory.

@dwlehman
Copy link
Contributor

dwlehman commented Jun 6, 2022

It might be fine to add a new disklabel of the default type as needed, IFF the uninitialized disk does not have any existing formatting.

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