From cd2dbed79c0815d1303d57006e0858e780897207 Mon Sep 17 00:00:00 2001 From: Ruslan Kiianchuk Date: Thu, 28 Jul 2016 08:52:32 -0700 Subject: [PATCH] Add support for reiserfs (#2551) * Add support for reiserfs Create commands mapping for Reiserfs tools. --- system/filesystem.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system/filesystem.py b/system/filesystem.py index ad9e0d1a52d..10fa5afbb1b 100644 --- a/system/filesystem.py +++ b/system/filesystem.py @@ -30,6 +30,7 @@ options: fstype: description: - File System type to be created. + - reiserfs support was added in 2.2. required: true dev: description: @@ -142,6 +143,13 @@ def main(): 'force_flag' : '-F', 'fsinfo': 'tune2fs', }, + 'reiserfs' : { + 'mkfs' : 'mkfs.reiserfs', + 'grow' : 'resize_reiserfs', + 'grow_flag' : None, + 'force_flag' : '-f', + 'fsinfo': 'reiserfstune', + }, 'ext4dev' : { 'mkfs' : 'mkfs.ext4', 'grow' : 'resize2fs',