auto_mount has a function that automatically mounts a newly inserted device as a gpt partition.
All hdds in /dev/sd*
will be formatted.
```rust use automount::{ changedevicestogpt, createpartition, filterunmountedhdddevices, findconnectedsatas, formatdevices, mountdevices, };
fn main() { let devices = findconnectedsatas(); let devices = filterunmountedhdddevices(devices); changedevicestogpt(&devices); let devices = createpartition(&devices); formatdevices(&devices); mount_devices(&devices); } ```
Please register improvements, etc. in the issue
gool luck!