From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: fstrim and SSDs and cron; was: Re: cron-service Date: Tue, 17 May 2016 23:24:16 +0200 Message-ID: <87zirotm2n.fsf@gnu.org> References: <20160430192744.1fbe081f@scratchpost.org> <871t5lc432.fsf@gnu.org> <20160517192857.0bab0560@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2qQb-00087L-Gb for guix-devel@gnu.org; Tue, 17 May 2016 21:37:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2mTT-0006Vn-LX for guix-devel@gnu.org; Tue, 17 May 2016 17:24:22 -0400 In-Reply-To: <20160517192857.0bab0560@scratchpost.org> (Danny Milosavljevic's message of "Tue, 17 May 2016 19:28:57 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org Hi! Danny Milosavljevic skribis: > I can confirm that this works! Great, thanks for testing. > I'm using it to regularily call fstrim (one has to regularily call > fstrim on SSDs) so the mcron behaviour of, if an appointment was > missed, doing it at the first next availability is good for > regularity. The man page says that trimming once a week is good. > > Longer term maybe there should be a way of specifying that a > filesystem should be trimmed in a "file-system" specification. Note > that fstrim expects the filesystem to be mounted for it to work. I had never thought of it, but maybe it=E2=80=99s a good idea. How do other distros handle it? Thanks, Ludo=E2=80=99.