RubyGems Navigation menu

mountpoints 1.0.13

This class will give you back all mountpoints on a Linux System. Please do note that this works only via "fdisk", and even then not always. It was mostly a "throw-away" gem that I can use, 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 If you have specific suggestions to make this gem more useful for others, please drop me an email at: shevegen@gmail.com Thank you.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.2.3 - May 15, 2022 (11 KB)
  2. 1.1.3 - May 15, 2022 (9 KB)
  3. 1.0.13 - May 03, 2019 (7 KB)
Show all versions (20 total)

Runtime Dependencies (2):

colours >= 0
opn >= 0

Owners:

Authors:

  • Robert A. Heiler

SHA 256 checksum:

007cabdbf830d822e91739694d1909217b733b5d0e4f288b5426cbd0cc983581

Total downloads 16,850

For this version 2,410

License:

GPL-2.0

Required Ruby Version: >= 2.6.3

Required Rubygems Version: >= 3.0.3

Links: