Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[udisks2] Reduce reserved blocks percentage to zero for ext2/ext3/ext…
…4 formatting. Fixes JB#43106
- Loading branch information
Showing
10 changed files
with
96 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
rpm/0009-Reduce-reserved-blocks-percentage-to-zero-for-ext2-e.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
From e63cbc17f8afcc2f99c45150bbd366a8dccc5199 Mon Sep 17 00:00:00 2001 | ||
From: Raine Makelainen <raine.makelainen@jolla.com> | ||
Date: Wed, 21 Nov 2018 17:27:59 +0200 | ||
Subject: [PATCH 9/9] Reduce reserved blocks percentage to zero for | ||
ext2/ext3/ext4 formatting | ||
|
||
Signed-off-by: Raine Makelainen <raine.makelainen@jolla.com> | ||
--- | ||
src/udiskslinuxfsinfo.c | 6 +++--- | ||
1 file changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/src/udiskslinuxfsinfo.c b/src/udiskslinuxfsinfo.c | ||
index d9e9f814..ba0049cd 100644 | ||
--- a/src/udiskslinuxfsinfo.c | ||
+++ b/src/udiskslinuxfsinfo.c | ||
@@ -70,7 +70,7 @@ const FSInfo _fs_info[] = | ||
NULL, | ||
TRUE, /* supports_online_label_rename */ | ||
TRUE, /* supports_owners */ | ||
- "mkfs.ext2 -F -L $LABEL $OPTIONS $DEVICE", | ||
+ "mkfs.ext2 -m 0 -F -L $LABEL $OPTIONS $DEVICE", | ||
"mkfs.ext2 -n -F -L $LABEL $OPTIONS $DEVICE", | ||
"-E nodiscard", /* option_no_discard */ | ||
}, | ||
@@ -80,7 +80,7 @@ const FSInfo _fs_info[] = | ||
NULL, | ||
TRUE, /* supports_online_label_rename */ | ||
TRUE, /* supports_owners */ | ||
- "mkfs.ext3 -F -L $LABEL $OPTIONS $DEVICE", | ||
+ "mkfs.ext3 -m 0 -F -L $LABEL $OPTIONS $DEVICE", | ||
"mkfs.ext3 -n -F -L $LABEL $OPTIONS $DEVICE", | ||
"-E nodiscard", /* option_no_discard */ | ||
}, | ||
@@ -90,7 +90,7 @@ const FSInfo _fs_info[] = | ||
NULL, | ||
TRUE, /* supports_online_label_rename */ | ||
TRUE, /* supports_owners */ | ||
- "mkfs.ext4 -F -L $LABEL $OPTIONS $DEVICE", | ||
+ "mkfs.ext4 -m 0 -F -L $LABEL $OPTIONS $DEVICE", | ||
"mkfs.ext4 -n -F -L $LABEL $OPTIONS $DEVICE", | ||
"-E nodiscard", /* option_no_discard */ | ||
}, | ||
-- | ||
2.17.2 | ||
|
Oops, something went wrong.