disk
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| disk [2021/01/28 05:46] – created - external edit 127.0.0.1 | disk [2023/09/24 05:30] (current) – [Disk] jhagstrand | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| == fdisk == | == fdisk == | ||
| - | Used to create | + | |
| + | Used to manage | ||
| $ sudo fdisk -l # list partitions | $ sudo fdisk -l # list partitions | ||
| - | + | | |
| - | Note: In addition to listing disks and partitions, | + | $ sudo fdisk -l | sed -e '/Disk \/ |
| == df == | == df == | ||
| $ df -T # disk filesystem format type | $ df -T # disk filesystem format type | ||
| + | | ||
| + | $ df -H | grep -v ^/ | ||
| + | |||
| + | |||
| + | == Note on Snap Loop Mounts == | ||
| + | In addition to listing disks and partitions, fdisk and df also list loop mounts. A loop mount looks like a disk but is in fact a file containing a file system, created by a Snap package install. | ||
| + | The Snap package system is proprietary to Canonical. | ||
| + | It is deeply embedded into Canonical' | ||
| + | But I uninstalled it anyway according to https:// | ||
| + | |||
| == du == | == du == | ||
disk.1611830776.txt.gz · Last modified: 2021/01/28 05:46 by 127.0.0.1