ALT Linux Bugzilla
– Attachment 6928 Details for
Bug 32981
Параметр --allow-discards
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч для установки параметра по умолчанию.
allow-discards.patch (text/plain), 957 bytes, created by
aebirukov
on 2017-01-10 14:15:29 MSK
(
hide
)
Description:
Патч для установки параметра по умолчанию.
Filename:
MIME Type:
Creator:
aebirukov
Created:
2017-01-10 14:15:29 MSK
Size:
957 bytes
patch
obsolete
>From 09988949eec65f6233c42bffa7dadf698a9bcc07 Mon Sep 17 00:00:00 2001 >From: Alexey E. Birukov <aebirukov@gmail.com> >Date: Tue, 10 Jan 2017 14:09:13 +0300 >Subject: [PATCH] modified: 050-luks, added parametr for trim support. > >--- > data/lib/initrd/handlers/050-luks | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/data/lib/initrd/handlers/050-luks b/data/lib/initrd/handlers/050-luks >index 7deac8b..6a013ff 100755 >--- a/data/lib/initrd/handlers/050-luks >+++ b/data/lib/initrd/handlers/050-luks >@@ -63,11 +63,11 @@ handler() { > if [ -n "${LUKS_KEY-}" ]; then > findkey "$nameluks" > readkey "$nameluks" | >- cryptsetup -d- luksOpen "$LUKS_ROOT" "$nameluks" >+ cryptsetup --allow-discards -d- luksOpen "$LUKS_ROOT" "$nameluks" > else > rc=2 > while [ "$rc" = 2 ]; do >- cryptsetup -d- luksOpen "$LUKS_ROOT" "$nameluks" >+ cryptsetup --allow-discards -d- luksOpen "$LUKS_ROOT" "$nameluks" > rc="$?" > done > fi >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32981
: 6928