improve mkfs condition and make fs_type for partitioning optional

Change-Id: Iba8126cadc80c0de04baf3cc65d0868aa147bc01
2 files changed