MCPcopy Create free account
hub / github.com/bootc-dev/bootc / wipefs

Function wipefs

crates/lib/src/install/baseline.rs:170–175  ·  view source on GitHub ↗
(dev: &Utf8Path)

Source from the content-addressed store, hash-verified

168}
169
170pub(crate) fn wipefs(dev: &Utf8Path) -> Result<()> {
171 println!("Wiping device {dev}");
172 Command::new("wipefs")
173 .args(["-a", dev.as_str()])
174 .run_inherited_with_cmd_context()
175}
176
177pub(crate) fn udev_settle() -> Result<()> {
178 // There's a potential window after rereading the partition table where

Callers 1

install_create_rootfsFunction · 0.85

Calls 2

argsMethod · 0.80

Tested by

no test coverage detected