-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add 'disk signature' argument to 'make'? #1
Comments
Hello @reynir, I would like to work on this issue, please can you assign it to me. Thanks. |
Hello @reynir please I wish to ask for guidance and pointers on how to fix this |
Hello @Burnleydev1. I suggest looking at the wikipedia page on master boot record. It is the "modern standard MBR" we use. It is the Line 165 in 9c8707b
When working on the code you can use |
Yes, it's already there. But if you look a few lines up: Line 200 in 9c8707b
the disk_signature is a constant zero (0l as it is an int32). What we would like is to allow you to pass in a different value.
|
Hello @reynir Does this mean I can pass any unique value as long as it is int32? |
Yes, a user of |
Hello @reynir, I'm sorry for asking too many questions, but will we have to check for the correctness of the int32? |
What would you check for? I think every int32 value is valid |
This means will replace the line |
The value for Lines 165 to 210 in 9c8707b
|
Hello @reynir, when I ran
|
To install the required dependencies you can run |
Thank you @reynir, I did that and it worked,
but I noticed that the function could only take one parameter |
Hello @Burnleydev1 val make : Partition.t list -> int32 -> (t, string) result where |
Hello @PizieDust, thanks for helping, i added this to the
this error was showing in the test_mbr.ml file. |
It worked and it seems that the test file will have to be updated to work with this new change. |
Burnleydev1 has pretty much got it now. Do you want to work on this issue? reynir/mirage-block-partition#6 |
Yes, I'll work on this! Any pointers on where to begin @reynir ? |
We want to encourage users of this library to specify a disk signature, which could be used by an OS (like Mirage) to identify the disk.
The text was updated successfully, but these errors were encountered: