Kinds of device files in Linux operating systems
There are two general kinds of device files in Unix-like operating systems, known as character special files and block special files. The difference between them lies in how data written to them and read from them is processed by the operating system and hardware.
These together can be called device special files in contrast to named pipes, which are not connected to a device but are not ordinary files either.
Symbol Meaning
- Regular file
d Directory
l Link
c Special file
s Socket
p Named pipe
b Block device
- Regular file
d Directory
l Link
c Special file
s Socket
p Named pipe
b Block device
Leave a Reply
You must be logged in to post a comment.