The three operations are very similar, -e is option-specific while the other two are general option-setting operations. The issue is that -o/-O don't produce any output to indicate what was done. So the output is inconsistent between more or less equal operations.
The second issue is that if the same set of commands is ran again, the output is completely the same - while the fs options were already set before. tune2fs could tell the user an option was already set. For example printing Setting error behavior to... is somewhat misleading.
Consider the following console output with 3 examples for setting several fs options:
The three operations are very similar,
-e
is option-specific while the other two are general option-setting operations. The issue is that-o
/-O
don't produce any output to indicate what was done. So the output is inconsistent between more or less equal operations.The second issue is that if the same set of commands is ran again, the output is completely the same - while the fs options were already set before.
tune2fs
could tell the user an option was already set. For example printing Setting error behavior to... is somewhat misleading.