In a VM with virtio disks, I get this:
# fstrim-all
HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
device /dev/disk/by-uuid/476e58d4-383c-4885-a988-fc96a79add14 is not a drive that is known-safe for trimming
HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
device /dev/vdc1 is not a drive that is known-safe for trimming

It looks like the intent was to have the stderr of hdparm piped to /dev/null, but this isn't inside the backticks in the fstrim-all script. To fix this, I think we just need the attached trivial patch.

This is mostly just an annoyance, but it would be nice to get fixed. If it makes more sense to open this as a new bug, let me know.

The attachment "fstrim-all.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

Matthew L. Dailey [2014-06-02 13:02 -0000]:
> I'm happy to do testing - we have several trusty installs on VMs that I
> can use. Should I wait until this is in trusty-proposed, or just test
> the package from utopic?

They are the same source package really, but for formal reasons (and
to be double-sure), testing the trusty-proposed package (once it gets
accepted) would be appreciated. Thanks!

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

The verification of the Stable Release Update for util-linux has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.