☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
procfs
/
examples
/
partitions.rs
☽
☼
debian/rust-vendor/procfs/examples/partitions.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
// List partitions listed in /proc/partitions
2
3
fn main() {
4
for part_entry in procfs::partitions().unwrap() {
5
println!("{part_entry:?}");
6
}
7
}