[Ocfs2-devel] /etc/mkfs.ocfs2.conf support

Goldwyn Rodrigues rgoldwyn at gmail.com
Sat Jan 26 22:34:21 PST 2008


On Fri, Jan 25, 2008 at 10:51:46AM -0800, Mark Fasheh wrote:
> On Wed, Jan 23, 2008 at 03:17:30PM +0530, Goldwyn Rodrigues wrote:
> > 
> > +
> > +static const char *config_fn[] = { "/etc/mkfs.ocfs2.conf", 0 };
> > +static const char *default_files[] = { "<default>", 0 };
> > +const char *mkfs_default_profile = 
> > +  "[defaults]\n"
> > +  "	block-size = 4096\n"
> > +  "\n"
> > +  "[fs_types]\n"
> > +  "	datafiles = {\n"
> > +  "		journal = {\n"
> > +  "			size = 8192\n"
> > +  "		}\n"
> > +  "	}\n"
> 
> Is this making '-T datafiles' the default? It should not be...
> 	--Mark
> 

No, it does not. It means that whenever the user supplies '-T datafiles'
in the command line, the journal size would be set to 8192 by default.
This was the only default value I could interpret from the current code.

However, it does assume the default block size is 4K. I will remove
that.


-- 
Goldwyn



More information about the Ocfs2-devel mailing list