qubes-installer-qubes-os/anaconda/docs/list-harddrives.rst
Marek Marczykowski-Górecki 6bc5671491
anaconda: update to 25.20.9-1
Apply:
  git diff --full-index --binary anaconda-23.19.10-1..anaconda-25.20.9-1

And resolve conflicts.

QubesOS/qubes-issues#2574
2017-02-14 02:36:20 +01:00

40 lines
848 B
ReStructuredText

The list-harddrives script
==========================
:Authors:
Martin Kolman <mkolman@redhat.com>
Introduction
------------
The list-harddrives script is primarily meant for use in the
kickstart %post scriptlets for listing all individual harddrives
on the system.
Output format
-------------
The list-harddrives script outputs two values per line separated
by a single whitespace:
- the device node name (eq. sda for /dev/sda)
- the size in MB as a floating point number
It does this for each individual harddrive on the system.
Example output:
sda 61057.3359375
sdb 476940.023438
sdc 30524.0
What devices are not listed
---------------------------
The list harddrives script will not list:
- CD/DVD drives (/dev/sr*)
- zram block devices
- software RAID (/dev/md*)
- all device mapper devices
- anything that is not a block device