-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
types table: add deprecation warning #538
Conversation
@mergify rebase |
✅ Branch has been successfully rebased |
886c4f0
to
2ca9d9e
Compare
2ca9d9e
to
0661bb8
Compare
Is there some kind of documentation/explanation of how to move from I just got this error but it's very unclear to me how I should deal with it. To expand on this: I import this file in my flake-based configuration, so every rebuild now triggers:
Looking through the code, it seems like |
Ah there pretty sure is. But I have not done it myself yet. If you don't want to reformat, it should be fairly straight forward and I will try to write something up in the next week. Sorry for the noise of the warning until then |
Is table only deprecated for gpt partition tables? This warning still comes up if you're using mbr/msdos, but I can't find any other alternative. |
Yeah. Maybe hybrid gpt partitions can be used in that case. But I would declare legacy/msdos tables in general deprecated? What is your usecase for them? |
Mainly just using it as a declarative configuration for mounting an already formatted drive. I tried using the gpt type, but msdos doesn't support partition labels, so right now it fails when trying to mount through I could also just use the nixos filesystem module directly, but I've been trying to keep all disk-specific configuration in disko. |
hmm I guess in that case you can ignore the warning, or we could move it to the create argument, but then people only see it when creating new drives and there it could be already to late. |
No description provided.