3 ms·
A device is a file. That's the power and elegance of Unix-like systems.
by userbinator 3y ago
A device is a file. That's the power and elegance of Unix-like systems.
- immibis 3y agoThe correct abstraction is that a file is a device. A file is a section of a hard disk which behaves like a whole disk. It also happens to be expandable. cp's default behaviour for device files also happens to be very stupid.