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

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
主站蜘蛛池模板: 湛江市| 青神县| 方正县| 环江| 远安县| 长寿区| 开化县| 兴海县| 运城市| 桃江县| 苍溪县| 武功县| 怀来县| 宁陵县| 平南县| 小金县| 砚山县| 望谟县| 大英县| 珠海市| 旅游| 彭阳县| 霍城县| 图木舒克市| 侯马市| 中卫市| 雷州市| 新巴尔虎左旗| 江源县| 乡城县| 长兴县| 综艺| 甘肃省| 大悟县| 罗城| 安陆市| 南宁市| 平遥县| 宾川县| 吉林省| 云浮市|