官术网_书友最值得收藏!

Designing a Hard Disk Layout

In the previous chapter, we focused on runlevels and boot targets. We interacted with a Linux system running init and also systemd. We saw how to turn on a service, and we saw how to switch between runlevels and boot targets. We looked at the various start and stop scripts, and we also looked at the structure of a script.

This chapter focuses on creating partitions and segmenting a physical hard disk at the CLI. We will be particularly focusing on the usage of the fdisk utility and the parted utility. Then we will go through the steps to create, remove, and define the partition type as well as formatting the hard disk with the various mkfs commands. Finally, we will look at ways of mounting and unmounting a partition.

So, we will cover the following topics in this chapter:

  • Using the fdisk utility
  • Using the parted utility
  • Steps for formatting a hard disk
  • Mounting and unmounting a partition
主站蜘蛛池模板: 云安县| 永德县| 广宁县| 十堰市| 个旧市| 临安市| 常宁市| 红原县| 柞水县| 万山特区| 延津县| 富宁县| 资阳市| 茌平县| 淮南市| 博客| 沙坪坝区| 婺源县| 莆田市| 宜宾市| 卫辉市| 宁河县| 祥云县| 错那县| 西贡区| 吕梁市| 和林格尔县| 赤峰市| 定结县| 长岭县| 榆树市| 杭锦后旗| 福贡县| 阿拉尔市| 财经| 会宁县| 祁连县| 比如县| 沂南县| 尤溪县| 雅江县|