On Wed, Sep 19, 2012 at 05:32:16PM +0900, Hidetoshi Seto wrote: > (2012/09/18 11:31), Miao Xie wrote: > > On tue, 18 Sep 2012 10:30:17 +0900, Hidetoshi Seto wrote: > >> This patch adds mount-option command. > >> The command can set/get default mount options. > >> Now, the command can set/get 24 options. > >> These options are equal to mount options which store > >> in fs_info/mount-opt. > > > > I don't think we need implement a separate command to do this, > > we can add it into btrfstune just like ext3/4. If so, the users > > who used ext3/4 before can be familiar with btrfs command as soon > > as possible. > > As some people already pointed out, I also think that the btrfstune > command is a kind of obsolete, and therefore it would be better to > improve the btrfs command as centralized utility. > > > > > Beside that, why not add a option into mkfs.btrfs? > > It is planned. Once we can fix a way how to save default options, > modifying mkfs.btfs would be easy.
It's desirable to extend mkfs with explict feature options like other filesystems do (eg. mke2fs -O features...) or be able to set incompatibility flags directly or the mount defaults prior to mount and actual fs use. david -- 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