课程: Linux: Storage Systems (2016)
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Create, mount, and unmount file systems
- [Instructor] Hey, let's talk about formatting Partitions, that is putting a file system on a partition, or in Linux speak, making a file system. Alright, when we partition a disk, we just set aside some space but it doesn't have any structure to it, it doesn't have a format that Linux can understand for us to mount it into the tree of our file system, so we need to format it and there's lots of choices for kinds of file systems, but typically you do a mkfs -t and the type of file system that you want, ext4 is a really common one these days, and then you give it the device file that you want to format, this is a big deal, right, a typo there can really give you a bad day. So let's say we're going to format the first partition on the second disk, that would be sdb1. It is possible to format an ordinary file, just have a file maybe full of binary zeros or something like that, and you can format and you can mount that as well, but that's, it's kind of unusual. Mounting a file system is…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
Basic commands for storage partitions2 分钟 10 秒
-
(已锁定)
Create, mount, and unmount file systems10 分钟 21 秒
-
(已锁定)
Use block device attributes7 分钟 16 秒
-
(已锁定)
File system types: ext4, Btrfs, and XFS7 分钟 26 秒
-
(已锁定)
Make file systems7 分钟 24 秒
-
(已锁定)
Mount file systems during boot11 分钟 27 秒
-
(已锁定)
Mount file systems on demand7 分钟 1 秒
-
(已锁定)
Challenge: Formatting and mounting2 分钟 3 秒
-
(已锁定)
Solution: Formatting and mounting8 分钟 17 秒
-
-
-
-
-
-