1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add support for reiserfs (#2551)

* Add support for reiserfs

Create commands mapping for Reiserfs tools.
This commit is contained in:
Ruslan Kiianchuk 2016-07-28 08:52:32 -07:00 committed by Matt Clay
parent 46f9706b9d
commit 3537ce57f1

View file

@ -30,6 +30,7 @@ options:
fstype: fstype:
description: description:
- File System type to be created. - File System type to be created.
- reiserfs support was added in 2.2.
required: true required: true
dev: dev:
description: description:
@ -142,6 +143,13 @@ def main():
'force_flag' : '-F', 'force_flag' : '-F',
'fsinfo': 'tune2fs', 'fsinfo': 'tune2fs',
}, },
'reiserfs' : {
'mkfs' : 'mkfs.reiserfs',
'grow' : 'resize_reiserfs',
'grow_flag' : None,
'force_flag' : '-f',
'fsinfo': 'reiserfstune',
},
'ext4dev' : { 'ext4dev' : {
'mkfs' : 'mkfs.ext4', 'mkfs' : 'mkfs.ext4',
'grow' : 'resize2fs', 'grow' : 'resize2fs',