3 ms·
> A row in a relational database, for example, is not a file, even in unix. Says who? Nothing stops you from creating an interface that maps that row to a file
by geezerjay 9y ago
> A row in a relational database, for example, is not a file, even in unix.
Says who? Nothing stops you from creating an interface that maps that row to a file.
That's the whole point of Unix.
Heck, look at the /proc filesystem tree. Even cpu sensor data is available as a file.
- dozzie 9y agoHa, even eth0 is a file! You can open a network connection by opening this file! Erm... no, that doesn't work. Then a process! You spawn a process by opening a file! Erm... again, no. You want me to continue?
- anthk 9y agoIn 9front you can. You can even import /net from another machine. Bam, instant NAT.
- lisper 9y ago> Nothing stops you from creating an interface that maps that row to a file. That's true, nothing stops you, though it is worth noting that no one actually does this, and there's a reason for that. So suppose you did this; how are you going to use that in a makefile?