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

[WIP]: S.M.A.R.T checking and HDD format checks #3

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

israpps
Copy link

@israpps israpps commented Dec 13, 2022

No description provided.

@parrado parrado self-assigned this Dec 14, 2022
@parrado parrado self-requested a review December 14, 2022 02:50
@parrado
Copy link
Owner

parrado commented Dec 14, 2022

Please explain PR and fix compilation errors.

@israpps
Copy link
Author

israpps commented Dec 14, 2022

Please explain PR and fix compilation errors.

Will fix them next week..

No access to PC ATM...

The idea would be to add HDD status and format checking like FreeHdBoot MBR has.

And if one of those issues is detected, run FSCK instead

@parrado
Copy link
Owner

parrado commented Dec 14, 2022

Nice, some tests forcing failures you described will be useful.

@israpps
Copy link
Author

israpps commented Dec 15, 2022

Still on the cellphone

TODO:

  • fix compilation
  • finish error checking code
  • add FSCK to installer
  • beta-testing

The purpose behind this PR? Make FreeHdBoot MBR not a vital piece of a sane HDD setup anymore

Also fueled by the idea of forking Softdev2 to make a MBR program of my own, for usage on PS2BBL when the HDD support comes (not soon)

@israpps
Copy link
Author

israpps commented Dec 15, 2022

As a side note

The following diagram poorly describes what FSCK does

flowchart LR
A[Initialize] --> B[Check MBR] --->|if has issues| C[let  the user now what happened and what was done] ---> QUIT["exit (MBR runs again)"]
B --> |if everything is ok| D[check HDD format issues] --->|if found issues| E[Attempt to fix] --->|either if fails or not| C

Loading

israpps and others added 4 commits December 16, 2022 12:00
FreeHdBoot MBR was disclosed. so we can make this behave EXACTLY as it should!
@israpps
Copy link
Author

israpps commented Mar 22, 2023

hi alex.

FHDB MBR program was disclosed some time ago.

This last commit reflects some of the checks and behaviours of FreeHdBoot MBR program source code

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.

2 participants