Linux file system Flashcards

1
Q

What the significance of a file system to an Linux?

A

A file system enables you to create and manage information, run programs and save information to use later.

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

What is a file?

A

It is a basic component of data storage

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

What is a file system?

A

It is a way of organizing files on storage devices such as hard disks

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

What is physical file system?

A

It is a section of a hard disk that has been formatted to hold files

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

List two types of file systems

A
  1. Network file system

2. Disk file system

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

Give examples of mentioned file systems

A

Network file systems
NFS - developed by sun
SMB/CIFS - developed by Microsoft

Disk file systems
NTFS
ext2 , 3, 4

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

What type of information does the following disk physical structure contain?

A
  1. Boot block
  2. Super block
  3. inode list
  4. Block list
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Journaling System?

A

It is a system in which metadata is written to a journal on the disk before it is actually used to modify the file.

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

/root

A

Super user home directory

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

/home

A

Where all the home directories for all other users on the system resides. Every user has have their own home dir

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

/bin

A

Contains essential tools and apps(binaries) eg login, shells, editors.

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

/sbin

A

Contains essential admin tools or system bins eg shutdown, lilo, init

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

/etc

A

Contains miscellaneous system config files, startup files eg passwd, shadow, fstab, lilo.config

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

/dev

A

Contains files representing the systems hardware devices eg dev/hda1

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

/temp

A

Contains mostly files that are required temporarily/dumping ground eg /temp

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

/var

A

same as /temp but more structured eg /var/log

17
Q

/usr

A

Contains directories with files related to user and applications. Min version of /root dir

18
Q

/proc

A

Contains files that give out info about the current system processes. Occupies no space on disk

19
Q

/mnt

A

Generic mount point under which you mount your FS. Temporary mount point is used to mount a removable storage medium ie flash storage /mnt/cdrom

20
Q

/boot

A

Contains an image to boot the system and files needed by the bootstrap loader

21
Q

/lib

A

Contains binaries, or executables, which are the programs needed to start the system and perform other essential system tasks

22
Q

/opt

A

Reserved for all software and add-on packages that are not part of default installation

23
Q

/lost+found

A

Is a construct used by fsck when there is damage to the file system. Files that would otherwise be lost because directory corruption would be linked in that file system’s lost+found dir by inode number