Block Devices and Partitions

Provides tutorial examples on block devices and partitions. Topics include understanding block devices, partition tables and partitions; using 'hdparm -i' command to display device information; differences between MBR and GPT partition table (disklabel) types; using 'parted' commands to manage partition table and partitions; using 'mkfs' command to format partitions; understanding 'dev/sd?' and '/dev/sd??' device files; shrinking or expanding 'ext4' file systems


These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.

What Is Block Device

"/dev/sd?" - Block Device Files

"hdparm" - Hard Disk Parameters

Partition Table and Its Types

"parted ... mktable" - Create Partition Table

What Is Partition and Its Types

"parted ... mkpart" - Create Partition

"/dev/sd??" - Partition Device Files

File System Types, IDs and Formats

"mkfs -t ext..." - Format Partition

Shrink "ext4" File System and Partition

Expand "ext4" File System and Partition

"parted" - Partition Manipulation Program

"fdisk" - Format Disk Partitions


Takeaways:

Table of Contents

 About This Book

 Introduction to Linux Systems

 Cockpit - Web Portal for Administrator

 Process Management

 Files and Directories

 Users and Groups

 File Systems

Block Devices and Partitions

 LVM (Logical Volume Manager)

 Installing CentOS

 SELinux - Security-Enhanced Linux

 Network Connection on CentOS

 Software Package Manager on CentOS - DNF and YUM

 Running Apache Web Server (httpd) on Linux Systems

 Running PHP Scripts on Linux Systems

 Running MySQL Database Server on Linux Systems

 Running Python Scripts on Linux Systems

 vsftpd - Very Secure FTP Daemon

 Postfix - Mail Transport Agent (MTA)

 Dovecot - IMAP and POP3 Server

 Email Client Tools - Mail User Agents (MUA)

 LDAP (Lightweight Directory Access Protocol)

 GCC - C/C++ Compiler

 Graphics Environments on Linux

 Conda - Environment and Package Manager

 Tools and Utilities

 Administrative Tasks

 References

 Full Version in PDF/EPUB