From 1bdb8667ed1fce895ccd0a928ecc50155d0c1716 Mon Sep 17 00:00:00 2001 From: Tobias Lang Date: Thu, 17 Nov 2016 11:32:27 +0100 Subject: [PATCH 1/2] ZFS commands to list snapshots added. --- commands.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands.md b/commands.md index ef8726f..2ea3a45 100644 --- a/commands.md +++ b/commands.md @@ -46,6 +46,8 @@ systat -tcp 1 # show tcp statistics ``` zfs list # list all zfs datasets (volumes) +zfs list -t snapshot # list all zfs snapshots +zfs list -r -t snapshot # list zfs snapshots for a given pool zfs snapshot /@ # generic way of creating a snapshot of a dataset in a storage pool zfs snapshot -r tank@2014021301 # create a snapshot of all datasets in the pool "tank" zfs create / # create a new dataset From fbbf28f9d531cfdadaad6349ab7a2af9cab6927f Mon Sep 17 00:00:00 2001 From: Tobias Lang Date: Fri, 5 May 2017 17:26:59 +0200 Subject: [PATCH 2/2] Update commands.md --- commands.md | 1 + 1 file changed, 1 insertion(+) diff --git a/commands.md b/commands.md index 2ea3a45..a1fb8ad 100644 --- a/commands.md +++ b/commands.md @@ -90,6 +90,7 @@ pkg info # show list of currently installed ports pkg version # show which ports/packages are outdated and need an update pkg upgrade # upgrade a packages pkg which # find out which package installed a given file +pkg audit -F # look for ports/packages with security vulnerabilities # System freebsd-update fetch # fetch updates from server