sec. 16 : linux Filesystems and the VFS Flashcards

1
Q

the filesystem is the ______ _____ of your hard drive

A

street grid

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

the filesystem is a map of addresses to where _____ is located on your drive

A

data

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

the operation system uses the _________ to store date on the hard drive.

A

filesystem

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

what command could I use to find the name of the current working directory?

A

pwd

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

I can see a list of files and directories using what command ?

A

ls

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

filesystems create a _____ _______ on a physical partition

A

usable format

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

every path or node is under ______ in the filesystem tree q

A

root directory

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

files and their names are an ……?

A

abstraction comaoflaging the physical I/O layer

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

linux uses a virtual filesystem layer to ……?

A

communicate w/ the filesystem software

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

applications read and write files rather than…..?

A

dealing w/ the physical location on the hardware

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

multiple filesystems may be merged together into…..?

A

a single tree structure

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

where do local filesystem usually reside?

A

in a disk partition

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

a disk partition coud be …..?

A
  1. a physical partition

or

  1. a logical partition controlled by LVM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

an inode is a ______?

A

a data structure on a disk that describes and stores file attributes , including location

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

filesystems can be also of a …..?

A

network nature

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

every file is connected to a ….?

A

inode

17
Q

the info stored in an indoe inludes……? q

A

-permissions

user and group ownership

size

timie stamps

18
Q

are files names stored in the inode?

A

no

19
Q

where are files names stored ?

A

in the directory file

20
Q

If I have I/O output wrt a file usually it will also involve the file’s …….?

A

inode

21
Q

what are the two ways to associate a file name w/ an inode ?

A
  1. hard link
  2. soft link
22
Q

a directory file is used for what?

A

used to associate file names and inodes

23
Q

describe what a hard link is :

A

a hard link points to an inode

24
Q

hard link files must be ______?

A

must be in the same filesystem.

25
Q

If I change the content of a hard link in one place will it nessary change the content in the other locations ?

A

no

26
Q

describe what a soft link is :

A

soft links point to a file name which is connected to a file inode

27
Q

soft links files may be on …..?

A

different filesystems

28
Q

the name fo a file is just a property of its ….?

A

inode

29
Q

each association of a directory file contents and an inode is known as a ….?

A

link

30
Q

becuase it is possible for two or more directory entires to point to the same inode , a file can be known by ……?

A

multiple names

31
Q
A