From: Anton Farygin <rider@basealt.ru>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] новые i-f
Date: Fri, 19 Oct 2018 11:01:29 +0300
Message-ID: <c82776dc-7a94-1b99-a02b-61a2d8909c1d@basealt.ru> (raw)
In-Reply-To: <20181019075844.GE10728@imap.altlinux.org>
19.10.2018 10:58, Michael Shigorin пишет:
> On Fri, Oct 19, 2018 at 04:43:55AM +0000, QA Team Robot wrote:
>> 6 ADDED packages
>>
>> installer-feature-fstrim - trim SSD upon installation
>> * Wed Oct 17 2018 Michael Shigorin <mike@altlinux> 0.1-alt1
>> - init with installer-sdk
> Применяется в INSTALL2_PACKAGES, добавляет fstrim -av
> перед самыми отмонтированием и перезагрузкой в конце
> работы инсталятора (поразмыслил и решил, что так пока
> будет и достаточно безопасно, и достаточно наглядно
> в случае проблем с оборудованием -- на этот случай
> добавлена реакция на "notrim" в /proc/cmdline).
>
> Отзывы, предложения, дополнения приветствуются.
>
Ничего, конечно, страшного не случится, но непонятно - зачем ?
Есть сервис в util-lnux, запускается раз в неделю, делает всё что надо.
# cat /lib/systemd/system/fstrim.timer
[Unit]
Description=Discard unused blocks once a week
Documentation=man:fstrim
[Timer]
OnCalendar=weekly
AccuracySec=1h
Persistent=true
[Install]
WantedBy=timers.target
$ rpm -qf /lib/systemd/system/fstrim.timer
util-linux-2.32-alt2.x86_64
next prev parent reply other threads:[~2018-10-19 8:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-19 7:58 ` [devel-distro] новые i-f (was: [cyber] I: Sisyphus-20181019 packages: +6! -6 +108 (18641)) Michael Shigorin
2018-10-19 8:01 ` Anton Farygin [this message]
2018-11-05 18:46 ` [devel-distro] новые i-f Michael Shigorin
2018-11-05 19:26 ` Anton Farygin
2018-12-24 17:53 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c82776dc-7a94-1b99-a02b-61a2d8909c1d@basealt.ru \
--to=rider@basealt.ru \
--cc=devel-distro@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Distributions development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
public-inbox-index devel-distro
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-distro
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git