6 ms·
Because everything is a file in unix derivative land. That is a common accepted practice at least but optimizing for the common case here is the right thing to
by dkarapetyan 11y ago
Because everything is a file in unix derivative land. That is a common accepted practice at least but optimizing for the common case here is the right thing to do. How often do people need to manage EFI things through the filesystem and how much of an inconvenience is it to have the initial mount be read-only? The answer is obvious to me because I know people run `rm -rf` often enough that having a safeguard in place is the right thing to do.
- SFjulie1 11y agoA file maybe, a filesystem no. You can't 'ls' your network connections. And for tricky API that does not match the filesystem view we have the fnctls.
- dkarapetyan 11y agoWith fuse you certainly can.
- SFjulie1 11y agoYeah. Never coded a driver did you? It is as smart as saying that by using a hammer heavy enough you can make a cube fit in a triangle. It is possible, but defeating the purpose of consistent API.
- deleted 11y ago[deleted]
- 4ad 11y ago> You can't 'ls' your network connections. You sure can in Plan 9. Unfortunately (?) Plan 9 is more Unix than Unix itself.