Re: Hardcoding of ext3 as partman's default filesystem
On Wed, Jan 28, 2009 at 01:13:10PM -0500, Rick Thomas wrote:
> On Wed, Jan 28, 2009 at 11:24:57AM +0000, Colin Watson wrote:
>> How about a partman/default_filesystem template in partman-base,
>> defaulting to ext3, and then a $default expansion in the filesystem
>> field in partitioning recipes? That would make it a matter of a boot
>> parameter to change the default filesystem, and would make the code a
>> bit more elegant IMO.
>
> Great idea!
>
> Wishlist request from a user: Please take care to not restrict it to
> ext3/ext4 only.
I certainly had no intention of limiting it that way; that would be more
effort than not doing so. :-)
> For example, in the embedded computing market, it might be nice to be
> able to default to jffs2.
I can only cope with filesystems that partman already supports; it
doesn't support jffs2 yet.
> Or, if your chosen mass-storage media is a "thumb" flash-drive, the
> default could be ext2 with the relatime option.
I'm not sure how to deal with options there, unless it's just by the
general /lib/partman/mountoptions/${fs}_defaults file (not supported
yet, will be shortly).
> Or, for some other kinds of application environments, XFS or reiser,
> etc.
That would be straightforward since those are well-supported.
--
Colin Watson [cjwatson@debian.org]
Reply to: