Mount Point Detection Incomplete #8

Closed
opened 2026-02-02 14:59:00 -05:00 by jared · 0 comments
Owner

Line ~265-273

if mount | grep -q "^/dev/${device}"; then

Issue:

Doesn't check for partition mounts (e.g., /dev/sda1, /dev/sda2)

Only checks device name, not partitions

Should use lsblk -no MOUNTPOINT /dev/$device to get all mount points

# Line ~265-273 if mount | grep -q "^/dev/${device}"; then Issue: Doesn't check for partition mounts (e.g., /dev/sda1, /dev/sda2) Only checks device name, not partitions Should use lsblk -no MOUNTPOINT /dev/$device to get all mount points
jared closed this issue 2026-02-05 12:20:45 -05:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/driveAtlas#8