disk
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| disk [2023/06/18 06:34] – jhagstrand | disk [2023/09/24 05:30] (current) – [Disk] jhagstrand | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| $ sudo fdisk -l # list partitions | $ sudo fdisk -l # list partitions | ||
| + | | ||
| + | $ sudo fdisk -l | sed -e '/Disk \/ | ||
| - | | + | == df == |
| + | | ||
| + | |||
| + | $ df -H | grep -v ^/ | ||
| - | In addition to listing disks and partitions, fdisk also lists 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. | ||
| + | == 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. | The Snap package system is proprietary to Canonical. | ||
| It is deeply embedded into Canonical' | It is deeply embedded into Canonical' | ||
| + | But I uninstalled it anyway according to https:// | ||
| - | |||
| - | |||
| - | == df == | ||
| - | $ df -T # disk filesystem format type | ||
| == du == | == du == | ||
disk.1687084449.txt.gz · Last modified: 2023/06/18 06:34 by jhagstrand