Am Montag, 29. Dezember 2014, 09:55:13 schrieb Ankur Tank: > Thank you for reply Anand & Matrin, > > Okay I understand the intention now. > I know it's not the forum to address issues related to mkfs commands > But I think, options used should be same across the mkfs.XXX commands. > Another irregularity is > mkfs.f2fs takes "-l" to apply label, while > mkfs.ext4 take "-L" to apply label. > If one has to write a common script these cases has to be handled separately. > > Anyways thank you for help,
Well, it is *one* of the forums. For that you probably need to CC every filesystem development mailing list :) or as an alternative the common fsdevel mailing list. And yes, mkfs.reiserfs also takes -l. And the mkfs wrapper does *not* convert the option. So if you use mkfs -t reiserfs -L it doesn´t work. That is why I always use the mkfs.<FS> manpage and tool directly. I think all mkfs tools should do the blkid check and not overwrite an existing filesystem just so. -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html