week8/9 Flashcards

1
Q

What file attributes are there

A

Name, file identifier, type, location, size, protection

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

What are the two kinds of level directories

A

single level, and two level (with the top being a directory and the second being the user file directory)

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

What is mounting

A

A way for directories to be accessible to the file system

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

What are the 5 levels of the file system

A

Logical (permissions), file organization level (block management), basic (W/R blocks), I/O, devices

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

What are the 4 On disk structures

A

boot control block (contains the code to start the OS), partition control blocks (hold the number of free blocks and the size of the blocks, called superblock), the directory structure, and the file control block (hold information about the file).

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

What is the process for opening a file?

A

Search the directory for the file identifier, see if the FCB (file control…) is in the memory, allocate the entry in the process control block table (allows for the buffer to be set)

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

What are three ways to allocate blocks to files

A

Contiguous (end-to-end, it’s fast), linked allocation (gives the first and last block, and points to all others in between), Indexed allocation (like linked but more overhead as one block has all the pointers)

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

How do you close a file?

A

point to the FCB, decrement counter, free the process in the file control block

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

Polling of I/O relies on what kind of bit?

A

the busy bit

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

What is it called when devices transfer data to/from the controller

A

the direct memory access, might use physical or logical addresses

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

What are examples of a character device and a block device?

A
Character= USB, keyboard
Block= disk drives, tape drives
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a major and minor number

A

the major number connects the device to the driver, the minor is used by the driver to work the device

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

What is a distributed system? what are the two types?

A

networked processors connected by a communication protocol. Two types are Network OS, and distributed OS

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

What are reasons for having distributed systems

A

Resource sharing, Reliability, Computation speedup, data migration (think NFS), process migration (like load balancing)

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

What are the two types of network topology?

A

Fully connected, and partially connected

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

what is a LAN and WAN?

A

Local area network, high speed, short distance.

Wide area network, long distance, private networks

17
Q

What are the 4 distributed file system concepts

A

Service (software running on machines), Server (the machine running the server software), the client and the client interface (the operations on the client that are available for use)

18
Q

What is location transparency vs independence

A

Location transparency - Name doesn’t reveal location, files are shared
Location independence - name doesn’t change if location changes. the space is shared

19
Q

What are two benefits to caching

A

Performance and consistency (more than one client can access a file)

20
Q

What are the three meanings of security

A

Protection and authentication, system integrity and information security

21
Q

what are the four security levels

A

physical, human, network, OS