Collect storage information for chrome://system (with workaround fix for stout)

This script will run at startup and dump result in /var/log
for SSD device display smartctl and hdparm result
for eMMC device display various eMMC attribute e.g. CID, CSD

This script also include a workaround fix for stout machine.
(Run "smartctl -a" instead of "smartctl -x" on stout)

TEST=Tested in link, pit, stout
Reboot, verified that /var/log/storage_info show meaningful
result and SSD does not crash on stout.

Change-Id: I85d9426131ad624930af9cfdd10311383d4b7dab
Reviewed-by: Shawn Nematbakhsh <>
Commit-Queue: Gwendal Grignou <>
Commit-Queue: Puthikorn Voravootivat <>
Tested-by: Puthikorn Voravootivat <>
Reviewed-by: Puthikorn Voravootivat <>
2 files changed
tree: d98072f6505a33dedbd2263df3df05be279408f8
  2. etc/
  3. inherit-review-settings-ok
  4. init/
  5. scripts/