[Git-commits] [grml/grml-hwinfo] 588c3c: Redirect hdparm + sg_inq errors to according .erro...

Michael Prokop mika at grml.org
Mon Dec 14 13:28:55 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-hwinfo
  Commit: 588c3c881bfb3f806f8a49bf1d3ec9bc86204d65
      https://github.com/grml/grml-hwinfo/commit/588c3c881bfb3f806f8a49bf1d3ec9bc86204d65
  Author: Michael Prokop <mika at grml.org>
  Date:   2015-12-14 (Mon, 14 Dec 2015)

  Changed paths:
    M grml-hwinfo

  Log Message:
  -----------
  Redirect hdparm + sg_inq errors to according .error files

sg_inq might raise:

Both SCSI INQUIRY and fetching ATA information failed on /dev/vda

and hdparm might raise:

HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device

This is annoying when running grml-hwinfo under cron, so
let's redirect this output to their according .error files.




More information about the Git-commits mailing list