Use GPTar table #3
1 changed files with 3 additions and 1 deletions
|
@ -1047,7 +1047,9 @@ stamp: %S
|
||||||
and sectors_git = K.sectors_git () in
|
and sectors_git = K.sectors_git () in
|
||||||
if initialize_disk then
|
if initialize_disk then
|
||||||
Part.format block ~sectors_cache ~sectors_git >>= function
|
Part.format block ~sectors_cache ~sectors_git >>= function
|
||||||
| Ok () -> Lwt.return_unit
|
| Ok () ->
|
||||||
|
Logs.app (fun m -> m "Successfully initialized the disk! You may restart now without --initialize-disk.");
|
||||||
|
Lwt.return_unit
|
||||||
| Error `Msg e ->
|
| Error `Msg e ->
|
||||||
Logs.err (fun m -> m "Error formatting disk: %s" e);
|
Logs.err (fun m -> m "Error formatting disk: %s" e);
|
||||||
exit Mirage_runtime.argument_error
|
exit Mirage_runtime.argument_error
|
||||||
|
|
Loading…
Reference in a new issue