Create Partitions and Filesystems Flashcards

1
Q

What does the command lsblk do

A

used to list out block devices (such as hard drives)

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

What does the command fdisk do

A

Legacy command used to create partitions of the MBR (DOS) type

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

What does the command parted do

A

Modern command used to create partitions of MBR or GPT types

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

What does the Partition ID 83 stand for

A

standard Linux filesystems

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

What does the Partition ID 82 stand for

A

Linux swap partitions

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

What does the partition ID 8e stand for

A

Linux LVM volumes `

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

What does the gdisk command

A

Creates GPT partitions on disks

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

What does the command parted do

A

used to create both MBR and GPT disk partitions

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

What commands can you use to create swap partitions

A

fdisk, gdisk, parted

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

What does the command mkswap do

A

used to format a partition to be used as swap space

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

What does the command swapon do

A

Enables a swap partition or file

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

What does the command swapoff do

A

Disables a swap partition or file

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

Describe a journaling filesystem

A

Uses a journal to keep track of changes that have not yet been written to the filesystem

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

What is an example of non-jornaling file system

A

ext2

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

What are some journaling file systems examples

A

ext3, ext4, XFS

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

What is VFAT (virtual FAT)

A

file system that allows longer names

17
Q

Describe the exFAT system

A

Allows for files larger than 2GB in size

Primarily used for external disk drives thumb drives, etc.

18
Q

What does the command mkfs do

A

Creates a new file system on a partition

19
Q

What does the command blkid do

A

Displays the file systems universally unique identifier (UUID)