Skip to contentSkip to conversation

master - fsadm: add support for crypt devices

PATCH Ondrej Kozina 1 participant 1 message Oct 10, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=30293baaa0f87efeab81f01f9c5d73b26869babf
Commit:        30293baaa0f87efeab81f01f9c5d73b26869babf
Parent:        22789563dec6d470a48e728305e6e0a92ff92a9f
Author:        Ondrej Kozina <[email protected]>
AuthorDate:    Fri Oct 6 16:28:35 2017 +0200
Committer:     Ondrej Kozina <[email protected]>
CommitterDate: Tue Oct 10 14:18:57 2017 +0200

fsadm: add support for crypt devices

---
 WHATS_NEW        |    1 +
 man/fsadm.8_main |    8 +++-
 scripts/fsadm.sh |  142 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 146 insertions(+), 5 deletions(-)
WHATS_NEW +1 -0
index 4314c69..9140858 100644
@@ -1,5 +1,6 @@
 Version 2.02.176 -
 ===================================
+  Support for encrypted devices in fsadm.
   Improve thin pool overprovisioning and repair warning messages.
 
 Version 2.02.175 - 6th October 2017
man/fsadm.8_main +7 -1
index c46033c..799cb25 100644
@@ -65,6 +65,11 @@ Be more verbose.
 Answer "yes" at any prompts.
 .
 .HP
+.BR -c | --cryptresize
+.br
+Resize dm-crypt mapping together with filesystem detected on the device. The dm-crypt device must be recognizable by cryptsetup(8).
+.
+.HP
 .BR \fInew_size [ B | K | M | G | T | P | E ]
 .br
 Absolute number of filesystem blocks to be in the filesystem,
@@ -111,4 +116,5 @@ Defaults to "\fI/dev\fP" and must be an absolute path.
 .BR resize_reiserfs (8),
 .BR xfs_info (8),
 .BR xfs_growfs (8),
-.BR xfs_check (8)
+.BR xfs_check (8),
+.BR cryptsetup (8)
scripts/fsadm.sh +138 -4

203 lines not on this page · raw message