4 ms·
It's a fun pasttime. I'm rewriting mdadm in rust: https://github.com/DavidVentura/mdadm-rs https://github.com/DavidVentura/mdadm-rs Mostly, I am tired of tools
by deivid 2y ago
It's a fun pasttime. I'm rewriting mdadm in rust: https://github.com/DavidVentura/mdadm-rs https://github.com/DavidVentura/mdadm-rs
Mostly, I am tired of tools requiring root access, or a block device, to function, even in read only mode.
If you have a file on disk (eg: a VM's disk) mdadm will refuse to show metadata, requiring root to do so.
- yjftsjthsd-h 2y ago> If you have a file on disk (eg: a VM's disk) mdadm will refuse to show metadata, requiring root to do so. If that's an artificial limitation, surely it should be easy to fix?
- blueflow 2y agoDid the previous developers put it there for fun? Probably not.
- nine_k 2y agoThe previous developers might have written it at the time when VM disk RAID images were not a consideration. (Apparently it was Linux 3.0, 2011.)
- yjftsjthsd-h 2y agoBut even then, the device nodes should be protected by file ownership+permissions; why does the tool do its own check?
- noja 2y agoChesterton’s fence. Ask the developer.