40 lines
842 B
Markdown
40 lines
842 B
Markdown
|
# Smart and wipe disks
|
|||
|
|
|||
|
**Project target : ultimately provide a way to diagnose and clear old disks before use.**
|
|||
|
|
|||
|
It should be :
|
|||
|
|
|||
|
- based on classic GNU/LINUX tools (smartctl, dd)
|
|||
|
- safe to use (never touch a mounted partition)
|
|||
|
- automatized for standalone operations
|
|||
|
|
|||
|
---
|
|||
|
|
|||
|
For now the project runs through a shell script that needs to be converted to python.
|
|||
|
|
|||
|
```
|
|||
|
$ pip install -r requirements.txt
|
|||
|
|
|||
|
# sudo/root is required to operate smartctl
|
|||
|
|
|||
|
$ sudo ./bin/main.sh
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
## Roadmap
|
|||
|
|
|||
|
It needs to improve based on the sources in the src dir :
|
|||
|
|
|||
|
- [pySMART](https://pypi.org/project/pySMART/)
|
|||
|
- [py_smartjson](https://github.com/kroy-the-rabbit/py_smartjson)
|
|||
|
- [smart_status](https://github.com/ixs/smart_status)
|
|||
|
- [pyWype](https://github.com/marshki/pyWype)
|
|||
|
|
|||
|
|
|||
|
Known dependencies
|
|||
|
|
|||
|
```
|
|||
|
- pip install pySMART
|
|||
|
- pip install jsonpickle
|
|||
|
```
|