Open probonopd opened 2 years ago
This gets us all mountpoints of a device, including FUSE ones:
lsblk da0 | awk '{ print $6 }'
MOUNT
-
-
/media/Name
-
but this needs a package:
/usr/local/sbin/lsblk was installed by package lsblk-3.7
Is there a FreeBSD native solution without the need for a package?
Assuming that all FUSE related mount commands start with
mount.*
is potentially a bug. Looks likentfs-3g -o recover -o noatime /dev/daXsY /media/Name
is not covered by
https://github.com/helloSystem/Utilities/blob/b6ace0b5c0cdffb55195b1fc69dca102b22774ab/System/Format%20Disk.app/Resources/formatdisk.py#L121
Is there a more robust way of finding out which FUSE mounts are there for a given
/dev/daX
?