Ruby gem mountpoints
This class will give you back all mountpoints on a Linux System. It may also work on Windows, using "wmic". Please do note that on Linux this works only via "fdisk", and even then not always. It was mostly a "throw-away" gem that I can use quickly, rather than having to parse the output of "fdisk -l". Also do note that we are only interested in external devices that are mounted that way, NOT other mountpoints. To use this in Ruby, do: require 'mountpoints' Mountpoints.show # or this variant: require 'mountpoints' Mountpoints[]
Summary
Count | 3 occurrences |
---|---|
State | Dead |
Last occurred | |
Habitening next | |
Age | |
Average | |
Honeymoon | |
Trend | None |
In degree | 0 |
Out degree | 1 |
External links |
|