[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080320204950.GA7991@mit.edu>
Date: Thu, 20 Mar 2008 16:49:50 -0400
From: Theodore Tso <tytso@....EDU>
To: Eric Sandeen <sandeen@...hat.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [E2FSPROGS, RFC] New mke2fs types parsing
On Thu, Mar 20, 2008 at 02:17:36PM -0500, Eric Sandeen wrote:
> Rather than *looking* for extN and size type in the magic first and
> second slots, what if we fill them in there internally, but they will be
> overridden by any other -T options specified.
>
> Internally, first an extN type is picked up from mkfs.FOO first, or
> defaults fs type if not specified. Seond, also internally, a size type
> is chosen next from the default size breakpoints.
Yes, this works, as long as we make sure every single filesystem and
size stanza in /etc/mke2fs.conf overrides each other completely.
Hmm.... Actually, as it's currently specified, it's not completely
true that a later parameter completely overrides a later one. The one
it's not true for is the "features" profile knob, where each specific
filesystem called e2p_edit_features(), so that one particular features
knob is cumulative.
Given that I think my previous proposal of overriding -t is probably
the better one, and concuptally simpler to understand and document.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists