Re: [PATCH] fstrim: add systemd units

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 07 April 2014, Karel Zak wrote:
> On Thu, Apr 03, 2014 at 11:41:51PM +0200, Thomas Bächler wrote:
> >  sys-utils/.gitignore        |  1 +
> >  sys-utils/Makemodule.am     |  6 ++++++
> >  sys-utils/fstrim.service.in |  6 ++++++
> >  sys-utils/fstrim.timer      | 10 ++++++++++
> >  4 files changed, 23 insertions(+)
> >  create mode 100644 sys-utils/fstrim.service.in
> >  create mode 100644 sys-utils/fstrim.timer
>
>  Applied, thanks.

Hm, isn't this a bit over the top? Adding a script just to 
call "fstrim -a" automatically?
Should we also add scripts for "mount -a" or "fsck -a" or "swapon -a"?

And wouldn't we also need to add "example crontab" lines for non-systemd 
systems! Sounds a bit ridiculous, right?

I think it's the distro's or admin's job to write and add the scripts 
for filesystems maintenance etc.

BTW fstrim.timer is missing in "make dist" tar ball.

cu,
Rudi
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux