[lxc-devel] [lxd/master] adding btrfs mount options to `lxc storage --help`

vrms on Github lxc-bot at linuxcontainers.org
Wed May 3 02:46:05 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170503/b890ad14/attachment.bin>
-------------- next part --------------
From d31f9beefc4ca49d29bd3382326a0189b9fc5221 Mon Sep 17 00:00:00 2001
From: gunnar <vrms at netcologne.de>
Date: Wed, 3 May 2017 10:45:37 +0800
Subject: [PATCH] adding btrfs mount options to `lxc storage --help`

---
 lxc/storage.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lxc/storage.go b/lxc/storage.go
index 0899c2e..ab6b843 100644
--- a/lxc/storage.go
+++ b/lxc/storage.go
@@ -88,6 +88,10 @@ lxc storage delete [<remote>:]<pool>
 lxc storage edit [<remote>:]<pool>
     Edit storage pool, either by launching external editor or reading STDIN.
 
+lxc storage <pool-name> btrfs.mount_options "<mount option>,<mount option>,<mount option>"
+    add btrfs mount options to btrfs storage pool
+    EXAMPLE: lxc storage <pool-name> btrfs.mount_options "rw,nospace_cache,lazytime,user_subvol_rm_allowed,autodefrag"
+
 *Storage volumes*
 lxc storage volume list [<remote>:]<pool>
     List available storage volumes on a storage pool.


More information about the lxc-devel mailing list