How Device Represent In Unix And Linux Operation System - File System

Linux and Unix Operating System Device are Represent in a file under /dev/ directory.
Regular file represent as a file.
Block file represent as device with character tics similar to a disk [DATA TRANSFER IN TERMS OF BLOCK]
Example
#file sda1
sda1: block special (8/1)

Character special file represent as characterize similar to a keyboard [ DATA TRANSFER IN TERMS OF STREAM OF BITS IN SEQUENTIAL ORDER]
#file console
console: character special (5/1)
#file tty
tty: character special (5/0)

Post a Comment

0 Comments