Re:Redox – A Unix-Like Operating System Written in Rust
by ori_b on Wednesday November 14, 2018 @10:38AM
(#18450633)
Ioctl was a horrible mistake, since it prevents configuring and introspecting devices with general interfaces and ad-hoc scripts.
This elevates the mistake, and polishes the worst of the early Unix conceptual fuckups.
In any case, you only need 2N for translating both ways between file: and whatever: to get the same experience Unix does, and wherever that makes sense it is usually provided.
The win is of course that each of those protocols can be strongly typed and provide exactly all the operations that make sense for that protocol. Basically, think of all the things IOCTL does and give them their own names.