Getting mount type information in python on OSX -
is there way in can information mounts have in folder /volumes
in osx?
i want able tell difference between disk images dmgs , other types, hard disks or network mounts.
i tried parsing output of mount -v
, looking if read-only
in line doubt that's particularly accurate way of telling, , not method either.
is there module or method give me information?
have @ diskutil(8)
, hdiutil(1)
tools.
Comments
Post a Comment