Disk management: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
iwu
 
No edit summary
Line 7: Line 7:
sda2 swap    2G [SWAP]
sda2 swap    2G [SWAP]
</source>
</source>
[[Category:System administration]]

Revision as of 13:29, 16 May 2016

List all disks and partitions

  • Last tested on Ubuntu 14.04.2 LTS (trusty)
$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME FSTYPE SIZE MOUNTPOINT LABEL
sda1 ext3    38G /
sda2 swap     2G [SWAP]