*** This bug is a duplicate of bug 1276941 ***
    https://bugs.launchpad.net/bugs/1276941

Digging deeper into it I found a line in /sbin/fstrim-all  saying:

HDPARM="`hdparm -I $REALDEV`" 2>/dev/null || continue

I guess it should read instead:
HDPARM="`hdparm -I $REALDEV 2>/dev/null`" || continue

The 2>/dev/null only makes sense to me if it ignores the error of hdparm
not the possible error of setting the HDPARM variable.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1281202

Title:
  weekly fstrim cron job reports errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1281202/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to