chore: included updates regarding the diy nas

This commit is contained in:
Michele Cereda
2023-09-09 18:48:34 +02:00
parent 5d5f317ec6
commit 719fb59e32
3 changed files with 124 additions and 1 deletions

View File

@@ -0,0 +1,38 @@
# `lsblk`
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Sources](#sources)
## TL;DR
```sh
# Install the tool.
dnf install 'util-linux'
# Show information about block devices.
lsblk
lsblk -a
# Also print other specific columns.
# Mind the '+' character at the beginning.
lsblk -o '+MODEL,SERIAL'
# Show only physical disks
lsblk -d
# Filter by major device numbers.
lsblk -I '8,259'
```
## Sources
- [`man` page][man page]
<!--
References
-->
<!-- Others -->
[man page]: https://linux.die.net/man/8/lsblk