Storage Management Flashcards

1
Q

File

A

Contiguous logical address space; abstract data type

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

Types of files

A

Data numeric character binary Program Read/write depending on type of file

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

File operations

A

Create Write Read Reposition within file Delete Truncate Open(Fi) – search the directory structure on disk for entry Fi, and move the content of entry to memory Close (Fi) – move the content of entry Fi in memory to directory structure on disk

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

File attributes

A

Name – only information kept in human-readable form Identifier – unique tag (number) identifies file within file system Type – needed for systems that support different types Location – pointer to file location on device Size – current file size Protection – controls who can do reading, writing, executing Time, date, and user identification – data for protection, security, and usage monitoring Information about files are kept in the directory structure, which is maintained on the disk

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

File system organization

A

Partition contains directory and files Root, top level for structure

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

File system mounting

A

file system must be mounted before it can be accessed

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

File directory operations

A

each operation changes structure Search for a file Create a file Delete a file List a directory Rename a file Traverse the file system

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

File control block

A

File permissions File dates File owner, group, ACL File size File data blocks or pointers to file data blocks

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

File allocation methods

A

Contiguous allocation Linked Allocation Indexed Allocation

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

File specification standards

A

Name conventions Functions to implement What media to use SCSI - small computer system Examples: FAT16 - file access table, MSDOS, 16 bit, 8+3 names FAT32 - file access table (windows), short names NTFS ex FAT

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

File System Implementation

A

Group of sectors, sector = 512 bytes Fragmentation (holes) addressed in file linking in file partition table Disk sizes growing, 512 bytes meaningless Clusters - 8 sectors, or user defined

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

Directory Implementation

A
  1. Linear list (linked list or B tree) 2. Hash table (if collision, set up linked list)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Raw partition file system

A

no file system,no files; write directly to sectors

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

Contiguous allocation

A

similar to contiguous memory, same issues each file occupies set of blocks on disk simple; need start loc + number of blocks random access access times better do not need to search for files just need start and end address wastes space, files cannot grow creates holes; need to shuffle, compact, defrag

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

Extant based systems

A

modified contiguous allocation

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

Linked allocation

A

Avoids contiguous problems (holes and wasted space) file is a linked list of blocks simple, no waste space used by FAT; FAT 1 one FAT table FAT2 2 FAT tables, one as backdrop but no random access, must navigate through linked list

17
Q

Indexed allocation

A

all pointers brought together in index block need index table (con); pointers require blocks, can run out of space random access dynamic access without external fragmention

18
Q

File access methods

A

Sequential or direct