Workbook 5: The Linux Filesystem: Chapter 3: Directories and Device Nodes Flashcards

1
Q

What data is found in a directory file?

A
directories have the same internal structure
as regular files: 
dentry,
 inode
 data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the differences between block and character device nodes?

A

1) Block devices are devices that read and write information a chunk (“block”) at a time.

2 )Character devices are often devices that read and write information as a stream of bytes (“characters”), and there is a natural concept of what it means to read or write the “next”
character.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly