commit | 79b0c6888797020a994db17c8510466c72fe75d9 | [log] [tgz] |
---|---|---|
author | Matt Layher <mdlayher@gmail.com> | Wed Apr 18 17:20:05 2018 -0400 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Fri Apr 20 14:53:19 2018 +0000 |
tree | 00b859faed40281b68ac869a96a851b2fec32501 | |
parent | a2a45943ae67364d56c5d7d62dee78cff16c8dc8 [diff] |
unix: add Linux block device ioctl types and constants These types and constants are taken from hdreg.h, and will enable querying and manipulation of block devices on Linux. Fixes golang/go#24971 Change-Id: Iafe8f81ba7ab9f1e127743dab6a9fb1912874a5c Reviewed-on: https://go-review.googlesource.com/108455 Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.