6
rated 0 times
[
6]
[
0]
/ answers: 1 / hits: 14492
/ 1 Year ago, fri, march 31, 2023, 8:54:31
there's a way to get the device name (/dev/sdx)
with the mounted folder? i mean, get the assosiated device in a mount point using the mounted folder as the reference, or make a python dictionary with the mount points : devices
...
i know that mount -l
can get me the mounted file system info, but i don't really know how to strip it to make the dictionary...
any help?
Regards...
More From » command-line