File Management Flashcards

1
Q

File management separates :

A

Design and implementation

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

What is a file ?

A

A file is a named collection of related information that is recorded on a secondary storage

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

What are the attributes of a file ?

A
Name 
Identifier
Location
Size
Protection mode ( giving permissions) 
Times creation Access modification
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the file operations

A

Create
Read
Update
Delete

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

How are files organized

A

Usually into directories with similar attributes and operations

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

Explain Mounting

A

When a file system on a storage device is mounted at a point in the existing file system

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

Features of the Linux file system

A

An everything is a file approach

Tree like structure

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

What does everything is a file mean :

A
Regular files : sequence of bytes
Directories: name/inode association lists
Special files: peripheral device
Links: locations of other files
Pipes:buffers between processes
Symbolic links: names of other files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the magnetic disk made of ?

A

spinning platters over which hovers a head attached to a movable arm

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

How is a platter organized

A

A platter is divided into circular tracks

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

what is a platters track divided into?

A

sectors

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

What is a magnetic disks cylindermade up of?

A

The tracks at one arm position

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

How does a magnetic disk read/write?

A

by moving the arm to the required cylinder and using a head to sense/change the
magnetism of a sector

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

what is a solid state disk made of ?

A
controller(Microprocessor) buffer memory (Conventional Memory)
flash memory(Easily Deteled)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Example of a typical solid state disks

A
ARM controller,
256Kb buffer 
128Mb flash
4Kb pages
256Kb block size.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How is an SSD read ?

A

copying a flash memory page into the buffer

reading data from the page in the buffer

17
Q

What actions may write on a solid disc?

A

copying a memory block into the buffer
erasing the block in the flash memory
modifying the block in the buffer
writing the block from the buffer to the flash memory

18
Q

What can increase the lifetime of an SSD?

A

dynamic wear-levelling

static wear-levelling

19
Q

What does dynamic wearleveling do?

A

writes new data to the least-recently-used block so cold data is not moved

20
Q

What does static wear-levelling do?

A

it additionally periodically moves existing data to the least-recently-used block (cold data is moved)