1
00:00:00,000 --> 00:00:09,600
In this video, we'll briefly talk about file systems.

2
00:00:09,600 --> 00:00:14,480
The next lesson, lesson 6, is entirely dedicated to working with file systems, so you will

3
00:00:14,480 --> 00:00:16,600
find more information in there.

4
00:00:16,600 --> 00:00:22,719
But for now, the main thing is, once you finish creating a partition or any other block device,

5
00:00:22,719 --> 00:00:27,639
you need to put a file system on top, because a partition is only a reservation of disk

6
00:00:27,639 --> 00:00:32,080
space, and if you don't put a file system on top of it, there's nothing that you can

7
00:00:32,080 --> 00:00:34,080
do with your partition.

8
00:00:34,080 --> 00:00:39,480
Different file systems exist, but ext4 and xfs are most commonly used.

9
00:00:39,480 --> 00:00:44,799
Xfs is what you typically find in Red Hat environments, and in Ubuntu environments,

10
00:00:44,799 --> 00:00:47,160
you'll find ext4.

11
00:00:47,160 --> 00:00:53,959
You can use mkfs.xfs or mkfs.ext4 to create these file systems.

12
00:00:53,959 --> 00:00:59,000
And both of these commands work with the option "-l", to give the file system a label.

13
00:00:59,000 --> 00:01:03,959
And you can use mount to connect a file system to a directory as a mount point.

14
00:01:03,959 --> 00:01:09,440
Again, all the gory details about working with file systems are covered in lesson 6,

15
00:01:09,440 --> 00:01:10,760
so to be continued.

