Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381829 - sys-fs/e2fsprogs introduce the huge_file useflag
Summary: sys-fs/e2fsprogs introduce the huge_file useflag
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 21:29 UTC by Stefan de Konink
Modified: 2011-09-12 05:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2011-09-04 21:29:58 UTC
Given the following rationale;
Huge files in common desktops, even servers are rare. The only situation on a desktop a hugefile (2TB+) is used is in the case of an extreme size virtualmachine image. Why would we want to format our ext4 filesystem with the huge_file flag? Which basically brings us more pain and misery because huge_file actually requires an extra kernel option (CONFIG_LBDAF) for R/W mounting.

The standard configuration of mke2fs.conf includes huge_file for ext4. My suggestion would be:

Introduce the useflag huge_file, this useflag would control the contents and default configuration of mke2fs.conf. And basically adds or removes the option appropriately.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-09-05 09:00:45 UTC
I would like to see this too
Comment 2 SpanKY gentoo-dev 2011-09-07 04:15:54 UTC
if we had a common USE flag that people were commonly setting system-wide, i'd be inclined to tweak this.  but we're talking about a local use flag which someone has to read and manually add for their build.  i dont see how that is any different from editing mke2fs.conf yourself.

further, this flag only affects initial fs creation ... it doesnt have any bearing on mounting/fscking existing ones.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-09-07 05:12:25 UTC
The question here is whether the default makes sense? And as the original reporter stated, it doesn't as people rarely want to have partitions for huge_files in reality. We should probably then switch the default and let the users alter that setting if needed.
Comment 4 SpanKY gentoo-dev 2011-09-12 05:08:15 UTC
if the default doesn't make sense, then get it changed upstream.  a USE flag doesn't make sense either way for the reasons i already stated.