Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

How are devices represented in UNIX?

6 like 0 dislike
Hello
How are devices represented in UNIX?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by eagles11 (179,830 points)

1 Answer

1 like 0 dislike
 
Best answer
All devices are represented by files called special files that are located in/dev directory. Thus, device files and other files are named and accessed in the same way. A 'regular file' is just an ordinary data file in the disk. A 'block special file' represents a device with characteristics similar to a disk (data transfer in terms of blocks). A 'character special file' represents a device with characteristics similar to a keyboard (data transfer is by stream of bits in sequential order).
answered 1 year ago by DBA-boss (120,990 points)

Related questions

6 like 0 dislike
1 answer
asked 1 year ago by eagles11 (179,830 points)
4 like 0 dislike
3 answers
7 like 0 dislike
1 answer
7 like 0 dislike
0 answers