mkdrivedb

command
v0.0.0-...-5d5b191 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

README

mkdrivedb

mkdrivedb is a simple tool to retrieve the drivedb.h drive "database" from smartmontools, and convert it to a more Go-friendly YAML format.

Usage

If mkdrivedb is run without any options, it will try to download drivedb.h from the default URL, and write our the YAML formatted drivedb to the current directory.

$ mkdrivedb -h
Usage of mkdrivedb:
  -in string
        Optional path to local drivedb.h
  -out string
        Output .yaml filename (default "drivedb.yaml")
  -url string
        Optional drivedb URL (default "https://www.smartmontools.org/export/HEAD/trunk/smartmontools/drivedb.h")

Documentation

Overview

Smartmontools drivedb.h database to YAML format converter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL