Ansible filesystem module

In the ansible filesystem module, what is the meaning of this “-cc”, this comes under tasks section for creating file system

fstype: ext4 dev: /dev/vg1/lvol1 opts: -cc # what is this cc for ??

( Ansible documentation says " list of options to be passed to mkfs command") but I am not getting the use for cc here in this context

Hello, @navneethp
-c --> Check the device for bad blocks before creating the file system. If this option is specified twice, then a slower read-write test is used instead of a fast read-only test.
Reference:-
man mkfs command

1 Like

Thank you so much . Appreciate it.

Regards
Navneeth