File systems Flashcards

1
Q

What is a file system?

A

is a type ofdata storagewhich can be used to store, retrieve and update a set offiles

Different file systems have different attributes:
File structure and format
How a file is structured and recorded

File size and volume size
Total capacity of a disk

The maximum size of a single file

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

What are some popular types of file systems?

A
Windows: Fat32
exFat
NTSF
Linux: Ext 2,3,4
Lanyard
Apple: HFS
HFS Plus
IBM-supercomputers:GPFS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a file?

A

File is an abstract data type

Contiguous logical space

But may be fragmented on a physical disk

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

What are the different types of files?

A

Text:notepad, html, program source
Binary: Image, Movie files also MS Word
Directory files
Special files - refer to a device

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

What are the different types of file operations:

A
Create – with new file name
Write data
At current location of the file
Read data
At current location of the file
Reposition within file (seek)
Move a pointer to a specific location of the file
Delete
Remove the whole file
Truncate
Cut some part of the file, remove some contents
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the different types of Directory structure:

A

Single-level Directory

Two-level Directory

Tree-structured Directory

Graph-structured Directory

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

What is a single level directory

A

A single directory for all users
Has problem with “naming” and “grouping”
Names must be unique
Sub-directories not possible

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

What is a two level directory?

A

Separate directory for each user

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

What is a Tree-Structured Directories

A

Sub-directories become possible

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

What is a graph structured directory?

A

Graph-structure allows shared subdirectories and files

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

How are file shared across a distributed system?

A

Network File System (NFS)

a standard UNIX client-server file sharing protocol

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

What is disk mounting and demounting?

A

To attach a file system to a particular mount point (directory)
Demounting is used to detach the mounted disk

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