-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This supports most of the functionality; only missing functionality is --report with no arguments.
- Loading branch information
Showing
8 changed files
with
548 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[package] | ||
name = "uu_blockdev" | ||
version = "0.0.1" | ||
edition = "2021" | ||
description = "blockdev ~ Get or set various block device attributes." | ||
|
||
[lib] | ||
path = "src/blockdev.rs" | ||
|
||
[[bin]] | ||
name = "blockdev" | ||
path = "src/main.rs" | ||
|
||
[dependencies] | ||
clap = { workspace = true } | ||
linux-raw-sys = { workspace = true } | ||
regex = { workspace = true } | ||
sysinfo = { workspace = true } | ||
uucore = { workspace = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# blockdev | ||
|
||
``` | ||
blockdev <COMMAND...> <DEVICE...> | ||
blockdev --report <DEVICE...> | ||
``` | ||
|
||
Get or set various block device attributes. |
Oops, something went wrong.