From 34b268b995f236c469c9a06ea28ee4d70c278cb2 Mon Sep 17 00:00:00 2001 From: Yuri Slobodyanyuk Date: Mon, 22 Mar 2021 18:51:22 +0000 Subject: [PATCH] ongoing additions, changes, and fixes --- FreeBSD-cheat-sheet.adoc | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 FreeBSD-cheat-sheet.adoc diff --git a/FreeBSD-cheat-sheet.adoc b/FreeBSD-cheat-sheet.adoc new file mode 100644 index 0000000..8dba263 --- /dev/null +++ b/FreeBSD-cheat-sheet.adoc @@ -0,0 +1,41 @@ += FreeBSD cheat sheet +Yuri Slobodyanyuk +v1.0, 2021-03-22 +:homepage: https://yurisk.info + +Author: Yuri Slobodyanyuk, admin@yurisk.info + + +== Working with disks and partitions + +[cols=2, options="header"] +|=== +|Command +|Description + + +|*camcontrol devlist* +|Show list of attached storage devices + +|*geom list* +|Display detailed information for the given GEOM class `disk` - physical disk, `label` - device labels, `part` - partitions. Other classes are available, but not mentioned for irrelevance here. + +|*mount* +|Show mounted in fact partitions and their properties (journaled or not, type). + +|*glabel list* +|Show labels, same as `geom label list`. + +|*gpart show* +|Show partitions, similar to `geom part list` minus labels information, so is shorter. Add `-r` to show GPT partition types, see for the complete list at https://en.wikipedia.org/wiki/GUID_Partition_Table . + + + + + + + + + + +|===