commit | 13b15b780d9013988b1fb0e79e30b2528a877638 | [log] [tgz] |
---|---|---|
author | Alexandru Matei <alexandru.matei@uipath.com> | Mon Nov 06 13:13:51 2023 +0000 |
committer | Gopher Robot <gobot@golang.org> | Sat Nov 18 01:08:36 2023 +0000 |
tree | 3fb4b5b4051ab1cd5f003e8a111078240b885db6 | |
parent | 11eadc05e9bfbaaf23ac6ebc28595a9a12f607f4 [diff] |
unix: add IoctlLoopConfigure on linux LOOP_CONFIGURE ioctl is used to setup and configure all loop device parameters in a single step. Add to the unix package a new function that exposes LOOP_CONFIGURE. Fixes golang/go#63962 Change-Id: Ia169d268b52b1384febc6bff9c707b721ab2bb24 GitHub-Last-Rev: f9cc4c94cb654afd596df6e28a0d0a1bf60d15eb GitHub-Pull-Request: golang/sys#181 Reviewed-on: https://go-review.googlesource.com/c/sys/+/540075 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org>
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.