Skip to content

Commit 8987df6

Browse files
committed
cli: Recommend XFS over f2fs and ext4
Note that, in addition to being slow for cold blits, ext4 only supports 65k hardlinks per file, and it has a limit of 4k for combined extended attribute data as well. Given we are looking at supporting SELinux, there is a very real chance that we are artificially (and knowingly) limiting ourselves by offering ext4 as a rootfs for Serpent OS. NB: AerynOS/recipes#548 is now up as a way to help mitigate the ext4 and f2fs cold blit slowness until we figure out a better solution. Signed-off-by: Rune Morling <[email protected]>
1 parent 1705ac1 commit 8987df6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

lichen_cli/src/main.rs

+7-3
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,13 @@ fn ask_rootfs(parts: &[SystemPartition]) -> color_eyre::Result<&SystemPartition>
122122

123123
fn ask_filesystem() -> color_eyre::Result<String> {
124124
let variants = [
125-
("xfs", "XFS", "For reliability (journaling)"),
126-
("f2fs", "F2FS", "For flash storage (speed)"),
127-
("ext4", "Ext4", "Not recommended due to small hardlink limit"),
125+
("xfs", "XFS", "Recommended (fast with moss, reliable)"),
126+
("f2fs", "F2FS", "Not Recommended (slow with moss)"),
127+
(
128+
"ext4",
129+
"EXT4",
130+
"Not Recommended (slow with moss, limited number of rollbacks supported)",
131+
),
128132
];
129133
let index = cliclack::select("Pick a filesystem for your rootfs")
130134
.items(&variants)

0 commit comments

Comments
 (0)