summaryrefslogtreecommitdiff
path: root/getDrives.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-17 17:02:29 -0500
committerJeff Carr <[email protected]>2025-08-17 22:57:06 -0500
commit25c604aeee7cd821d27dfd4c09bf0626e9312535 (patch)
treee7b875d4077ffb7fa265c7a1bd8fefafbc9d0235 /getDrives.go
parentbd5b16d8755bc9e5f0dc90162bc4724d319c725e (diff)
protobuf file for block devices
Diffstat (limited to 'getDrives.go')
-rw-r--r--getDrives.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/getDrives.go b/getDrives.go
index a818645..13dacc6 100644
--- a/getDrives.go
+++ b/getDrives.go
@@ -43,9 +43,7 @@ func doDrives2() {
for _, info := range devs {
devPath := "/dev/" + info.Name
if info.IsRaw {
- s := log.Sprintf("%-12s -> %-8s (raw)", devPath, info.Type)
- log.Info(s)
- me.dd.AddText(s)
+ addDrive(devPath, log.Sprintf("-> %-8s (raw)", info.Type))
} else {
if info.Parent != "" {
log.Printf("%-12s -> partition of /dev/%s\n", devPath, info.Parent)