From: Karel Zak <kzak@redhat.com>
To: "Pádraig Brady" <P@draigBrady.com>
Cc: "Lukáš Czerner" <lczerner@redhat.com>,
"Sten Heinze" <shze@gmx.de>,
util-linux@vger.kernel.org
Subject: Re: Automatic SSD trim script
Date: Wed, 11 Dec 2013 12:36:46 +0100 [thread overview]
Message-ID: <20131211113646.GA16572@x2.net.home> (raw)
In-Reply-To: <52A8444F.2040904@draigBrady.com>
On Wed, Dec 11, 2013 at 10:54:07AM +0000, Pádraig Brady wrote:
> Very nice:
> https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=36c370c
>
> One foible was it was called multiple times for my /home
> Now my /home is mounted a couple of times on my system (why I don't know):
>
> ├─/home /dev/sdb1 ext4 rw,relatime,seclabel,user_xattr,barrier=1,data=ordered
> │ └─/home /dev/sdb1 ext4 rw,relatime,seclabel,user_xattr,barrier=1,data=ordered
>
> If this was common it might be worth avoiding processing the same entry multiple times.
The common things is something like:
├─/boot systemd-1 autofs rw,relatime,fd=41,pgrp=1,timeout=300,minproto=5,maxpr
│ └─/boot /dev/sda1 vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iochar
but "autofs" is ignored.
My old plan is to add some de-duplication function to libmount... now
I have a real motivation :-)
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2013-12-11 11:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-05 19:20 Automatic SSD trim script Sten Heinze
2013-12-06 10:49 ` Karel Zak
2013-12-09 13:43 ` Lukáš Czerner
2013-12-10 15:44 ` Karel Zak
2013-12-11 2:07 ` Sten Heinze
2013-12-11 10:54 ` Pádraig Brady
2013-12-11 11:36 ` Karel Zak [this message]
2013-12-11 16:03 ` Karel Zak
2013-12-17 19:46 ` Marcos Mello
2013-12-17 19:58 ` Marcos Mello
2014-01-13 12:12 ` Karel Zak
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=20131211113646.GA16572@x2.net.home \
--to=kzak@redhat.com \
--cc=P@draigBrady.com \
--cc=lczerner@redhat.com \
--cc=shze@gmx.de \
--cc=util-linux@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox