Re: [RFC][PATCH] btrfs-progs: mkfs: add -O option to specify fs features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 19, 2013 at 10:23:05AM -0600, Eric Sandeen wrote:
> On 2/19/13 5:16 AM, David Sterba wrote:
> > The RFC is for the option name, as there does not seem to be a common name
> > amongst other mkfses.
> 
> What did you find when looking?

I remember that extN uses -O and that was my first choice without much
thinking. While writing the changelog "all other mkfs use -O" I did not
find this correct when looking to xfs and ocfs2 manpages.

> xfsprogs doesn't really have a feature flag option per se; there are just block,
> inode, size, log, data etc. options which may trigger some feature set.

Yeah, and this separation makes sense, as there are several options how
to tune the specific area.

My point is to turn on/off a whole filesystem feature via a single
option that cannot be enabled by a mount option or may make the
filesystem unmountable on older kernels due to incompat bits.

> e2fsprogs has the rather -O feature -E extended-options set, and darned if I could
> tell you the difference ;)
> 
> but I think -O is the right option, unless you found other common mkfs's that
> use something different.  When in doubt, e2fsprogs conventions probably win.  :)

Nothing so far, tried jfs, f2fs, hfs, reiserfs.

Thanks for your comment.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux